Skip to content

Commit e0e1c19

Browse files
authored
更新php-cs-fixer并优化开发环境依赖 (#505)
1 parent 73385c7 commit e0e1c19

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

example/config/config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
declare(strict_types=1);
44

5-
use function Imi\env;
6-
75
use Imi\Util\Imi;
86

7+
use function Imi\env;
8+
99
return [
1010
// 项目根命名空间
1111
'namespace' => 'QueueApp',

src/Tool/QueueTool.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class QueueTool extends BaseCommand
1919
* 获取队列状态
2020
*
2121
* @CommandAction(name="status", description="获取队列状态")
22+
*
2223
* @Argument(name="queue", type="string", required=true)
2324
*
2425
* @return void
@@ -32,6 +33,7 @@ public function status(string $queue)
3233
* 将失败消息恢复到队列.
3334
*
3435
* @CommandAction(name="restoreFail", description="将失败消息恢复到队列")
36+
*
3537
* @Argument(name="queue", type="string", required=true)
3638
*
3739
* @return void
@@ -45,6 +47,7 @@ public function restoreFail(string $queue)
4547
* 将超时消息恢复到队列.
4648
*
4749
* @CommandAction(name="restoreTimeout", description="将超时消息恢复到队列")
50+
*
4851
* @Argument(name="queue", type="string", required=true)
4952
*
5053
* @return void

0 commit comments

Comments
 (0)