@@ -9,7 +9,7 @@ |
||
9 | 9 | * |
10 | 10 | * @link http://www.gixx-web.com |
11 | 11 | */ |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace WebHemi\Config; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * |
10 | 10 | * @link http://www.gixx-web.com |
11 | 11 | */ |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace WebHemi\Config; |
15 | 15 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * |
10 | 10 | * @link http://www.gixx-web.com |
11 | 11 | */ |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace WebHemi\Auth; |
15 | 15 | |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | * |
95 | 95 | * @return UserEntity|null |
96 | 96 | */ |
97 | - public function getIdentity() :?UserEntity |
|
97 | + public function getIdentity() : ? UserEntity |
|
98 | 98 | { |
99 | 99 | return $this->userEntity; |
100 | 100 | } |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * |
10 | 10 | * @link http://www.gixx-web.com |
11 | 11 | */ |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace WebHemi\Auth\Storage; |
15 | 15 | |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | * |
69 | 69 | * @return null|DataEntityInterface |
70 | 70 | */ |
71 | - public function getIdentity() : ?DataEntityInterface |
|
71 | + public function getIdentity() : ? DataEntityInterface |
|
72 | 72 | { |
73 | 73 | return $this->sessionManager->get($this->sessionKey); |
74 | 74 | } |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * |
10 | 10 | * @link http://www.gixx-web.com |
11 | 11 | */ |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace WebHemi\Auth; |
15 | 15 | |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | * |
41 | 41 | * @return DataEntityInterface|null |
42 | 42 | */ |
43 | - public function getIdentity() : ?DataEntityInterface; |
|
43 | + public function getIdentity() : ? DataEntityInterface; |
|
44 | 44 | |
45 | 45 | /** |
46 | 46 | * Clears the storage. |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * |
10 | 10 | * @link http://www.gixx-web.com |
11 | 11 | */ |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace WebHemi; |
15 | 15 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * |
10 | 10 | * @link http://www.gixx-web.com |
11 | 11 | */ |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace WebHemi\Middleware\Security; |
15 | 15 | |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | * @param ResponseInterface $response |
60 | 60 | * @return void |
61 | 61 | */ |
62 | - public function __invoke(ServerRequestInterface &$request, ResponseInterface&$response) : void |
|
62 | + public function __invoke(ServerRequestInterface&$request, ResponseInterface&$response) : void |
|
63 | 63 | { |
64 | 64 | $identity = 'Unauthenticated user'; |
65 | 65 | $requestAttributes = $request->getAttributes(); |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * |
10 | 10 | * @link http://www.gixx-web.com |
11 | 11 | */ |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace WebHemi\Middleware; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * |
10 | 10 | * @link http://www.gixx-web.com |
11 | 11 | */ |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace WebHemi\Middleware; |
15 | 15 |