@@ -61,7 +61,7 @@ |
||
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - * @param $filePath |
|
| 64 | + * @param string $filePath |
|
| 65 | 65 | * |
| 66 | 66 | * @return Response |
| 67 | 67 | */ |
@@ -152,7 +152,7 @@ |
||
| 152 | 152 | { |
| 153 | 153 | $themes = array_filter( |
| 154 | 154 | $loadedThemes, |
| 155 | - function ($element) use (&$themeName) { |
|
| 155 | + function($element) use (&$themeName) { |
|
| 156 | 156 | return $element->getName() === $themeName; |
| 157 | 157 | } |
| 158 | 158 | ); |
@@ -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 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 @@ 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 | } |
@@ -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 Menu Bundle. |