Completed
Pull Request — master (#20)
by Vladimir
02:21
created
src/Utlities/ArrayUtilities.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,9 @@
 block discarded – undo
9 9
         foreach ($array as $element)
10 10
         {
11 11
             if (is_array($element))
12
-                return true;
12
+            {
13
+                            return true;
14
+            }
13 15
         }
14 16
 
15 17
         return false;
Please login to merge, or discard this patch.
src/Engines/FrontMatter/ExpandedValue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     private $iterators;
16 16
 
17
-    public function __construct($string)
17
+    public function __construct ($string)
18 18
     {
19 19
         $this->evaluated = $string;
20 20
     }
Please login to merge, or discard this patch.
src/Engines/FrontMatter/FrontMatterParser.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      *
62 62
      * @param array $rawFrontMatter
63 63
      */
64
-    public function __construct(&$rawFrontMatter)
64
+    public function __construct (&$rawFrontMatter)
65 65
     {
66 66
         $this->expansionUsed = false;
67 67
         $this->nestingLevel = 0;
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,9 @@
 block discarded – undo
218 218
 
219 219
             if (is_array($value) || is_bool($value))
220 220
             {
221
-                if ($ignoreArrays) { continue; }
221
+                if ($ignoreArrays)
222
+                {
223
+continue; }
222 224
 
223 225
                 throw new YamlUnsupportedVariableException("Yaml variable `$variable` for `$key` is not a supported data type.");
224 226
             }
Please login to merge, or discard this patch.
src/Object/DynamicPageView.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     /**
20 20
      * {@inheritdoc}
21 21
      */
22
-    public function __construct($filePath)
22
+    public function __construct ($filePath)
23 23
     {
24 24
         parent::__construct($filePath);
25 25
 
Please login to merge, or discard this patch.
src/Object/PageView.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
             self::$fileSys = new Filesystem();
141 141
         }
142 142
 
143
-        $frontMatter  = array(
143
+        $frontMatter = array(
144 144
             'permalink' => $redirectFrom,
145 145
             'redirect'  => $redirectTo,
146 146
             'menu' => false
Please login to merge, or discard this patch.