@@ -7,14 +7,14 @@ |
||
| 7 | 7 | interface IAuthorizationRequestSerializer |
| 8 | 8 | { |
| 9 | 9 | /** |
| 10 | - * @param AuthorizationRequest $authorizationRequest |
|
| 11 | - * @return string |
|
| 12 | - */ |
|
| 10 | + * @param AuthorizationRequest $authorizationRequest |
|
| 11 | + * @return string |
|
| 12 | + */ |
|
| 13 | 13 | public function serialize(AuthorizationRequest $authorizationRequest): string; |
| 14 | 14 | |
| 15 | 15 | /** |
| 16 | - * @param string $data |
|
| 17 | - * @return AuthorizationRequest |
|
| 18 | - */ |
|
| 16 | + * @param string $data |
|
| 17 | + * @return AuthorizationRequest |
|
| 18 | + */ |
|
| 19 | 19 | public function unserialize(string $data): AuthorizationRequest; |
| 20 | 20 | } |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Lookyman\NetteOAuth2Server; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Lookyman\NetteOAuth2Server\User; |
| 5 | 5 | |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | public function __construct(User $user, callable $credentialsValidator = null) |
| 24 | 24 | { |
| 25 | 25 | $this->user = $user; |
| 26 | - $this->credentialsValidator = $credentialsValidator ?: function () { |
|
| 26 | + $this->credentialsValidator = $credentialsValidator ?: function() { |
|
| 27 | 27 | try { |
| 28 | 28 | call_user_func_array([$this->user, 'login'], func_get_args()); |
| 29 | 29 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Lookyman\NetteOAuth2Server\UI; |
| 5 | 5 | |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | { |
| 45 | 45 | $control = $this->approveControlFactory->create(); |
| 46 | 46 | |
| 47 | - $control->onAnchor[] = function (ApproveControl $control) { |
|
| 47 | + $control->onAnchor[] = function(ApproveControl $control) { |
|
| 48 | 48 | if (!$this->redirectConfig) { |
| 49 | 49 | $this->error('RedirectConfig not set', IResponse::S500_INTERNAL_SERVER_ERROR); |
| 50 | 50 | } |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Lookyman\NetteOAuth2Server; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Lookyman\NetteOAuth2Server; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Lookyman\NetteOAuth2Server; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Lookyman\NetteOAuth2Server; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Lookyman\NetteOAuth2Server; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Lookyman\NetteOAuth2Server; |
| 5 | 5 | |