Skip to content

Commit a7c5f08

Browse files
authored
Use Hyperf\Collection\Collection instead of Hyperf\Utils\Collection. (#5593)
* Format code * Use `Hyperf\Collection\Collection` instead of `Hyperf\Utils\Collection`. * Use `Hyperf\Collection\collect` instead of `collect`.
1 parent 7d7d013 commit a7c5f08

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Command.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
use Symfony\Component\Console\Style\SymfonyStyle;
2929
use Throwable;
3030

31+
use function Hyperf\Collection\collect;
32+
3133
abstract class Command extends SymfonyCommand
3234
{
3335
use DisableEventDispatcher;

0 commit comments

Comments
 (0)