@@ -12,9 +12,9 @@ |
||
| 12 | 12 | namespace WebHemi\Auth; |
| 13 | 13 | |
| 14 | 14 | use Exception; |
| 15 | -use WebHemi\Data\Storage\User\UserStorage; |
|
| 16 | -use WebHemi\Data\Entity\User\UserEntity; |
|
| 17 | 15 | use WebHemi\Adapter\Auth\AbstractAuthAdapter; |
| 16 | +use WebHemi\Data\Entity\User\UserEntity; |
|
| 17 | +use WebHemi\Data\Storage\User\UserStorage; |
|
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * Class Auth |
@@ -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 | |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | * |
| 52 | 52 | * @return DataEntityInterface|null |
| 53 | 53 | */ |
| 54 | - public function getIdentity() : ?DataEntityInterface |
|
| 54 | + public function getIdentity() : ? DataEntityInterface |
|
| 55 | 55 | { |
| 56 | 56 | $identity = parent::getIdentity(); |
| 57 | 57 | // TODO implement |
@@ -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\Validator; |
| 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\Application; |
| 15 | 15 | |
@@ -347,7 +347,7 @@ discard block |
||
| 347 | 347 | * @param string $subDirectory |
| 348 | 348 | * @return bool |
| 349 | 349 | */ |
| 350 | - private function checkDomainIsValid(string $applicationName, array $applicationData, string &$subDirectory) : bool |
|
| 350 | + private function checkDomainIsValid(string $applicationName, array $applicationData, string&$subDirectory) : bool |
|
| 351 | 351 | { |
| 352 | 352 | $isSubdomain = $applicationName == 'website' |
| 353 | 353 | || ( |
@@ -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\Application; |
| 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\Application\Web; |
| 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\Application; |
| 15 | 15 | |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | string $name, |
| 136 | 136 | int $timeOut = 3600, |
| 137 | 137 | string $path = '/', |
| 138 | - ?string $domain = null, |
|
| 138 | + ? string $domain = null, |
|
| 139 | 139 | bool $secure = false, |
| 140 | 140 | bool $httpOnly = false |
| 141 | 141 | ) : SessionManager { |
@@ -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\Application; |
| 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\Application; |
| 15 | 15 | |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | * |
| 182 | 182 | * @return null|string |
| 183 | 183 | */ |
| 184 | - public function start() : ?string |
|
| 184 | + public function start() : ? string |
|
| 185 | 185 | { |
| 186 | 186 | $this->index = 0; |
| 187 | 187 | $this->sortPipeline(); |
@@ -194,7 +194,7 @@ discard block |
||
| 194 | 194 | * |
| 195 | 195 | * @return null|string |
| 196 | 196 | */ |
| 197 | - public function next() : ?string |
|
| 197 | + public function next() : ? string |
|
| 198 | 198 | { |
| 199 | 199 | if (!isset($this->index)) { |
| 200 | 200 | throw new RuntimeException('Unable to get the next element until the pipeline is not started.', 1003); |
@@ -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\Routing; |
| 15 | 15 | |