Skip to content

Commit 6b5096b

Browse files
committed
upsome comments
1 parent 26e0928 commit 6b5096b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Router.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class Router implements RouterInterface
7878
* Register a app group command(by controller)
7979
*
8080
* @param string $name The controller name
81-
* @param string|ControllerInterface $class The controller class
81+
* @param string|ControllerInterface|null $class The controller class
8282
* @param array $options
8383
* array:
8484
* - aliases The command aliases
@@ -145,7 +145,7 @@ public function addGroup(string $name, $class = null, array $options = []): Rout
145145
* Register a app independent console command
146146
*
147147
* @param string|CommandInterface $name
148-
* @param string|Closure|CommandInterface $handler
148+
* @param string|Closure|CommandInterface|null $handler
149149
* @param array $options
150150
* array:
151151
* - aliases The command aliases

0 commit comments

Comments
 (0)