@@ -58,7 +58,7 @@ |
||
58 | 58 | /** |
59 | 59 | * @return Page[] |
60 | 60 | */ |
61 | - public function getCmsPagesByTag(string $tag, ?string $domain = null, string $orderBy = 'date', string $direction = 'desc', int $limit = null, int $page = null): array |
|
61 | + public function getCmsPagesByTag(string $tag, ?string $domain = null, string $orderBy = 'date', string $direction = 'desc', int $limit = null, int $page = null) : array |
|
62 | 62 | { |
63 | 63 | if (!in_array($direction, ['asc', 'desc'])) { |
64 | 64 | throw new CMSException("Error while using getCmsPagesByTag. The third parameter (direction) must be either 'asc' or 'desc'."); |
@@ -64,7 +64,7 @@ |
||
64 | 64 | * @param string|null $domain |
65 | 65 | * @return Page[] |
66 | 66 | */ |
67 | - public function findPagesByTag(string $tag, ?string $domain): array |
|
67 | + public function findPagesByTag(string $tag, ?string $domain) : array |
|
68 | 68 | { |
69 | 69 | $pages = $this->getImportedPagesFromCache(); |
70 | 70 |