@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace ArjanWestdorp\Exposable\Http\Middleware; |
4 | 4 | |
5 | -use Closure; |
|
6 | -use Illuminate\Http\Request; |
|
7 | -use ArjanWestdorp\Exposable\Guards\Guard; |
|
8 | 5 | use ArjanWestdorp\Exposable\Exceptions\InvalidGuardException; |
9 | 6 | use ArjanWestdorp\Exposable\Exceptions\UnauthorizedException; |
7 | +use ArjanWestdorp\Exposable\Guards\Guard; |
|
8 | +use Closure; |
|
9 | +use Illuminate\Http\Request; |
|
10 | 10 | |
11 | 11 | class Authorize |
12 | 12 | { |
@@ -93,7 +93,7 @@ |
||
93 | 93 | /** |
94 | 94 | * Get the exposable lifetime for this model. |
95 | 95 | * |
96 | - * @return mixed |
|
96 | + * @return string |
|
97 | 97 | */ |
98 | 98 | protected function getExposableLifetime() |
99 | 99 | { |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace ArjanWestdorp\Exposable\Traits; |
4 | 4 | |
5 | -use ArjanWestdorp\Exposable\Signers\Signer; |
|
6 | -use ArjanWestdorp\Exposable\Exceptions\InvalidGuardException; |
|
7 | 5 | use ArjanWestdorp\Exposable\Exceptions\InvalidExposableException; |
6 | +use ArjanWestdorp\Exposable\Exceptions\InvalidGuardException; |
|
7 | +use ArjanWestdorp\Exposable\Signers\Signer; |
|
8 | 8 | |
9 | 9 | trait Exposable |
10 | 10 | { |