@@ -65,7 +65,7 @@ |
||
65 | 65 | * @return Page[] |
66 | 66 | * @throws CMSException |
67 | 67 | */ |
68 | - public function getCmsPagesByTag(string $tag, ?string $domain = null, ?string $orderBy = null, string $direction = 'desc', int $limit = null, int $offset = null): array |
|
68 | + public function getCmsPagesByTag(string $tag, ?string $domain = null, ?string $orderBy = null, string $direction = 'desc', int $limit = null, int $offset = null) : array |
|
69 | 69 | { |
70 | 70 | if (!\in_array($direction, ['asc', 'desc'], true)) { |
71 | 71 | throw new CMSException("Error while using getCmsPagesByTag. The third parameter (direction) must be either 'asc' or 'desc'."); |