@@ -51,7 +51,7 @@ |
||
51 | 51 | return true; |
52 | 52 | } |
53 | 53 | |
54 | - $this->logger->error(implode(', ', array_map(function ($error) { |
|
54 | + $this->logger->error(implode(', ', array_map(function($error) { |
|
55 | 55 | return sprintf('"%s" %s', $error['property'], $error['message']); |
56 | 56 | }, $validator->getErrors()))); |
57 | 57 |
@@ -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 Content Bundle. |
@@ -56,6 +56,10 @@ |
||
56 | 56 | return $result; |
57 | 57 | } |
58 | 58 | |
59 | + /** |
|
60 | + * @param string $route |
|
61 | + * @param integer $type |
|
62 | + */ |
|
59 | 63 | private function getCacheKey($route, $parameters, $type) |
60 | 64 | { |
61 | 65 | if ($route instanceof Meta && $route->getValues() instanceof ArticleInterface) { |
@@ -74,7 +74,7 @@ |
||
74 | 74 | } |
75 | 75 | |
76 | 76 | /** |
77 | - * @param $queryBuilder |
|
77 | + * @param QueryBuilder $queryBuilder |
|
78 | 78 | * @param PaginationData $paginationData |
79 | 79 | * |
80 | 80 | * @return PaginationInterface |
@@ -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 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 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 Content Bundle. |