@@ -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 | { |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace ArjanWestdorp\Exposable\Signers; |
| 4 | 4 | |
| 5 | -use League\Uri\Schemes\Http; |
|
| 6 | 5 | use League\Uri\Components\Query; |
| 7 | 6 | use League\Uri\Modifiers\KsortQuery; |
| 7 | +use League\Uri\Schemes\Http; |
|
| 8 | 8 | |
| 9 | 9 | abstract class BaseSigner |
| 10 | 10 | { |
@@ -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 | { |