@@ -50,6 +50,9 @@ |
||
50 | 50 | return $this->description ?: ''; |
51 | 51 | } |
52 | 52 | |
53 | + /** |
|
54 | + * @param string $foo |
|
55 | + */ |
|
53 | 56 | public function getArgument($foo) |
54 | 57 | { |
55 | 58 | return $this->input->getArgument($foo); |
@@ -9,8 +9,8 @@ |
||
9 | 9 | use Illuminate\Routing\Controller as IlluminateController; |
10 | 10 | use Spatie\SlashCommand\Exceptions\InvalidHandler; |
11 | 11 | use Spatie\SlashCommand\Exceptions\InvalidRequest; |
12 | -use Spatie\SlashCommand\Exceptions\SlackSlashCommandException; |
|
13 | 12 | use Spatie\SlashCommand\Exceptions\RequestCouldNotBeHandled; |
13 | +use Spatie\SlashCommand\Exceptions\SlackSlashCommandException; |
|
14 | 14 | use Spatie\SlashCommand\Handlers\SignatureHandler; |
15 | 15 | |
16 | 16 | class Controller extends IlluminateController |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | /** |
60 | 60 | * Show the help information for a single SignatureHandler. |
61 | 61 | * |
62 | - * @param Collection|SignatureHandler[] $handlers |
|
62 | + * @param Collection $handlers |
|
63 | 63 | * @param string $command |
64 | 64 | * @return Response |
65 | 65 | */ |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | /** |
87 | 87 | * Show a list of all available handlers. |
88 | 88 | * |
89 | - * @param Collection|SignatureHandler[] $handlers |
|
89 | + * @param Collection $handlers |
|
90 | 90 | * @return Response |
91 | 91 | */ |
92 | 92 | protected function displayListOfAllCommands(Collection $handlers): Response |