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