@@ -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\CSRF\ServiceAdapter\Base; |
15 | 15 | |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | $randomString = $this->getRandomString(32); |
51 | 51 | } |
52 | 52 | |
53 | - $token = base64_encode((time() + $ttlExtendSeconds) . $extra . $randomString); |
|
53 | + $token = base64_encode((time() + $ttlExtendSeconds).$extra.$randomString); |
|
54 | 54 | |
55 | 55 | $this->sessionManager->set(self::SESSION_KEY, $token); |
56 | 56 | |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | */ |
107 | 107 | protected function getClientHash() : string |
108 | 108 | { |
109 | - return sha1($_SERVER['REMOTE_ADDR'] . $_SERVER['HTTP_USER_AGENT']); |
|
109 | + return sha1($_SERVER['REMOTE_ADDR'].$_SERVER['HTTP_USER_AGENT']); |
|
110 | 110 | } |
111 | 111 | |
112 | 112 | /** |
@@ -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\Renderer\Helper; |
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\Action\Admin\ContentEditor; |
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\Action\Admin\ControlPanel\Users; |
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\Action\Admin\ControlPanel\Resources; |
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\Action\Admin\ControlPanel\Themes; |
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\Action\Admin\ControlPanel\Settings; |
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\Action\Admin\ControlPanel\Domains; |
15 | 15 |