@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System. |
@@ -295,7 +295,7 @@ discard block |
||
295 | 295 | } |
296 | 296 | |
297 | 297 | /** |
298 | - * @param array $keys |
|
298 | + * @param string[] $keys |
|
299 | 299 | * |
300 | 300 | * @return string |
301 | 301 | */ |
@@ -327,7 +327,7 @@ discard block |
||
327 | 327 | /** |
328 | 328 | * @param string $id |
329 | 329 | * |
330 | - * @return null|true |
|
330 | + * @return null|boolean |
|
331 | 331 | */ |
332 | 332 | public function restoreTemporaryUnset($id) |
333 | 333 | { |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System. |
@@ -91,10 +91,10 @@ |
||
91 | 91 | |
92 | 92 | $builder->get('cacheTimeInSeconds') |
93 | 93 | ->addModelTransformer(new CallbackTransformer( |
94 | - function ($value) { |
|
94 | + function($value) { |
|
95 | 95 | return $value; |
96 | 96 | }, |
97 | - function ($value) { |
|
97 | + function($value) { |
|
98 | 98 | return (int) $value; |
99 | 99 | } |
100 | 100 | )) |