@@ -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\SlashException; |
|
12 | 11 | use Spatie\SlashCommand\Exceptions\RequestCouldNotBeHandled; |
12 | +use Spatie\SlashCommand\Exceptions\SlashException; |
|
13 | 13 | |
14 | 14 | class Controller extends IlluminateController |
15 | 15 | { |
@@ -12,6 +12,9 @@ |
||
12 | 12 | { |
13 | 13 | protected $handler; |
14 | 14 | |
15 | + /** |
|
16 | + * @param string $message |
|
17 | + */ |
|
15 | 18 | public function __construct($message, SignatureHandler $handler, Exception $previous = null) |
16 | 19 | { |
17 | 20 | parent::__construct($message, 0, $previous); |
@@ -4,9 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Exception; |
6 | 6 | use Spatie\SlashCommand\Attachment; |
7 | +use Spatie\SlashCommand\Handlers\SignatureHandler; |
|
7 | 8 | use Spatie\SlashCommand\Request; |
8 | 9 | use Spatie\SlashCommand\Response; |
9 | -use Spatie\SlashCommand\Handlers\SignatureHandler; |
|
10 | 10 | |
11 | 11 | class InvalidInput extends SlashException |
12 | 12 | { |