@@ -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); |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | /** |
59 | 59 | * Show the help information for a single SignatureHandler |
60 | 60 | * |
61 | - * @param Collection|SignatureHandler[] $handlers |
|
61 | + * @param Collection $handlers |
|
62 | 62 | * @param string $command |
63 | 63 | * @return Response |
64 | 64 | */ |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | /** |
85 | 85 | * Show a list of all available Handlers |
86 | 86 | * |
87 | - * @param Collection|SignatureHandler[] $handlers |
|
87 | + * @param Collection $handlers |
|
88 | 88 | * @return Response |
89 | 89 | */ |
90 | 90 | protected function displayHelpList(Collection $handlers): Response |
@@ -107,6 +107,9 @@ |
||
107 | 107 | ->setFields($attachmentFields); |
108 | 108 | } |
109 | 109 | |
110 | + /** |
|
111 | + * @param Collection $alternativeHandlers |
|
112 | + */ |
|
110 | 113 | protected function containsHelpHandler($alternativeHandlers) |
111 | 114 | { |
112 | 115 | $alternativeHandlers->first(function (SignatureHandler $handler) { |
@@ -8,8 +8,8 @@ |
||
8 | 8 | use Illuminate\Routing\Controller as IlluminateController; |
9 | 9 | use Spatie\SlashCommand\Exceptions\InvalidHandler; |
10 | 10 | use Spatie\SlashCommand\Exceptions\InvalidRequest; |
11 | -use Spatie\SlashCommand\Exceptions\SlackSlashCommandException; |
|
12 | 11 | use Spatie\SlashCommand\Exceptions\RequestCouldNotBeHandled; |
12 | +use Spatie\SlashCommand\Exceptions\SlackSlashCommandException; |
|
13 | 13 | |
14 | 14 | class Controller extends IlluminateController |
15 | 15 | { |