@@ -37,7 +37,7 @@ |
||
| 37 | 37 | return new Csrf\JWT(); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - public function setHidden(string $alias, ArrayAccess &$cookie, string $errorMessage): self |
|
| 40 | + public function setHidden(string $alias, ArrayAccess & $cookie, string $errorMessage): self |
|
| 41 | 41 | { |
| 42 | 42 | $this->csrf->init($cookie); |
| 43 | 43 | $this->setEntry($alias); |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | return ''; |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | - public function setLabel(/** @scrutinizer ignore-unused */?string $value): void |
|
| 88 | + public function setLabel(/** @scrutinizer ignore-unused */ ?string $value): void |
|
| 89 | 89 | { |
| 90 | 90 | } |
| 91 | 91 | |
@@ -20,6 +20,6 @@ |
||
| 20 | 20 | public function unpack(string $content): array |
| 21 | 21 | { |
| 22 | 22 | $data = @ unserialize($content); |
| 23 | - return (false === $data) ? [] : $data ; |
|
| 23 | + return (false === $data) ? [] : $data; |
|
| 24 | 24 | } |
| 25 | 25 | } |
@@ -20,6 +20,6 @@ |
||
| 20 | 20 | public function unpack(string $content): array |
| 21 | 21 | { |
| 22 | 22 | $data = @ json_decode($content, true); |
| 23 | - return (false === $data) ? [] : $data ; |
|
| 23 | + return (false === $data) ? [] : $data; |
|
| 24 | 24 | } |
| 25 | 25 | } |