Completed
Push — internationalization ( 50fb1f )
by Arnaud
02:01
created
src/Collection/Page/FileStr.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      * @param string $string
70 70
      * @param string $type
71 71
      *
72
-     * @return string[]|null
72
+     * @return string|null
73 73
      */
74 74
     protected static function get(string $string, string $type): ?string
75 75
     {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      *
93 93
      * @param string $string
94 94
      *
95
-     * @return string[]|null
95
+     * @return string|null
96 96
      */
97 97
     public static function getPrefix(string $string): ?string
98 98
     {
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      *
105 105
      * @param string $string
106 106
      *
107
-     * @return string[]|null
107
+     * @return string|null
108 108
      */
109 109
     public static function getSuffix(string $string): ?string
110 110
     {
Please login to merge, or discard this patch.
src/Generator/Section.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $sections = [];
26 26
 
27 27
         // excludes pages in other language than default
28
-        $filteredPages = $this->pagesCollection->filter(function (Page $page) {
28
+        $filteredPages = $this->pagesCollection->filter(function(Page $page) {
29 29
             return !$page->hasVariable('language');
30 30
         });
31 31
 
Please login to merge, or discard this patch.