@@ -63,7 +63,7 @@ |
||
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | - * @param $filePath |
|
| 66 | + * @param string $filePath |
|
| 67 | 67 | * |
| 68 | 68 | * @return Response |
| 69 | 69 | */ |
@@ -138,7 +138,7 @@ |
||
| 138 | 138 | { |
| 139 | 139 | $themes = array_filter( |
| 140 | 140 | $loadedThemes, |
| 141 | - function ($element) use (&$themeName) { |
|
| 141 | + function($element) use (&$themeName) { |
|
| 142 | 142 | return $element->getName() === $themeName; |
| 143 | 143 | } |
| 144 | 144 | ); |
@@ -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 Content Bundle. |
@@ -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 Template Engine Bundle. |
@@ -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 Bundle. |
@@ -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 Core Bundle. |
@@ -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 Content List Bundle. |
@@ -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 Menu Bundle. |
@@ -1,6 +1,6 @@ discard block |
||
| 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 Content List Bundle. |
@@ -64,10 +64,10 @@ discard block |
||
| 64 | 64 | |
| 65 | 65 | $builder->get('filters') |
| 66 | 66 | ->addModelTransformer(new CallbackTransformer( |
| 67 | - function ($value) { |
|
| 67 | + function($value) { |
|
| 68 | 68 | return json_encode($value); |
| 69 | 69 | }, |
| 70 | - function ($value) { |
|
| 70 | + function($value) { |
|
| 71 | 71 | if (is_array($value)) { |
| 72 | 72 | return $value; |
| 73 | 73 | } |