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