@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Lookyman\NetteOAuth2Server\Psr7; |
| 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\User; |
| 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\UI; |
| 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 @@ 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 | |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | $authorizationRequest->setUser(new UserEntity($this->getUser()->getId())); |
| 56 | 56 | } |
| 57 | 57 | $control = $this->approveControlFactory->create($authorizationRequest); |
| 58 | - $control->onResponse[] = function (ApplicationPsr7ResponseInterface $response) { |
|
| 58 | + $control->onResponse[] = function(ApplicationPsr7ResponseInterface $response) { |
|
| 59 | 59 | $this->sendResponse($response); |
| 60 | 60 | }; |
| 61 | 61 | return $control; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Lookyman\NetteOAuth2Server\Storage; |
| 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 | |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | public function __construct(User $user, callable $credentialsValidator = null) |
| 28 | 28 | { |
| 29 | 29 | $this->user = $user; |
| 30 | - $this->credentialsValidator = $credentialsValidator ?: function () { |
|
| 30 | + $this->credentialsValidator = $credentialsValidator ?: function() { |
|
| 31 | 31 | $this->user->logout(true); |
| 32 | 32 | try { |
| 33 | 33 | $this->user->login(...func_get_args()); |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Lookyman\NetteOAuth2Server\User; |
| 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\Psr7; |
| 5 | 5 | |