Completed
Pull Request — master (#5)
by David
02:53
created
src/Twig/CmsPageExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
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'.");
Please login to merge, or discard this patch.