@@ -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 | |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | $randomString = $this->getRandomString(32); |
50 | 50 | } |
51 | 51 | |
52 | - $token = base64_encode(time() . $extra . $randomString); |
|
52 | + $token = base64_encode(time().$extra.$randomString); |
|
53 | 53 | |
54 | 54 | $this->sessionManager->set(self::SESSION_KEY, $token); |
55 | 55 | |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | */ |
104 | 104 | protected function getClientHash() : string |
105 | 105 | { |
106 | - return sha1($_SERVER['REMOTE_ADDR'] . $_SERVER['HTTP_USER_AGENT']); |
|
106 | + return sha1($_SERVER['REMOTE_ADDR'].$_SERVER['HTTP_USER_AGENT']); |
|
107 | 107 | } |
108 | 108 | |
109 | 109 | /** |
@@ -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\Form\Preset; |
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\Validator; |
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\Validator; |
15 | 15 |