Skip to content

Commit

Permalink
Imports functions
Browse files Browse the repository at this point in the history
  • Loading branch information
huangdijia committed May 9, 2023
1 parent 7ce27b7 commit 4de1b65
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Command/ConsumeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
use Hyperf\Coroutine\Coroutine;
use Psr\Container\ContainerInterface;

use function Hyperf\Support\make;

#[Command()]
class ConsumeCommand extends HyperfCommand
{
Expand Down
2 changes: 2 additions & 0 deletions src/Command/SubscribersCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
use Hyperf\Di\Annotation\AnnotationCollector;
use Psr\Container\ContainerInterface;

use function Hyperf\Collection\collect;

class SubscribersCommand extends HyperfCommand
{
protected ?string $signature = 'describe:subscribers {--C|connection= : connection}';
Expand Down
2 changes: 2 additions & 0 deletions src/Command/TriggersCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
use Hyperf\Di\Annotation\AnnotationCollector;
use Psr\Container\ContainerInterface;

use function Hyperf\Collection\collect;

class TriggersCommand extends HyperfCommand
{
protected ?string $signature = 'describe:triggers {--C|connection= : connection} {--T|table= : Table}';
Expand Down
2 changes: 2 additions & 0 deletions src/Snapshot/RedisBinLogCurrentSnapshot.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
use Hyperf\Redis\Redis;
use MySQLReplication\BinLog\BinLogCurrent;

use function Hyperf\Support\with;

class RedisBinLogCurrentSnapshot implements BinLogCurrentSnapshotInterface
{
public function __construct(
Expand Down
2 changes: 2 additions & 0 deletions src/Subscriber/TriggerSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
use Psr\Container\ContainerInterface;
use Throwable;

use function Hyperf\Support\call;

class TriggerSubscriber extends AbstractSubscriber
{
use Logger;
Expand Down

0 comments on commit 4de1b65

Please sign in to comment.