Completed
Push — master ( 0b748b...d78c1b )
by Vladimir
02:17
created
src/Engines/FrontMatter/FrontMatterParser.php 1 patch
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -100,7 +100,9 @@  discard block
 block discarded – undo
100 100
      */
101 101
     private function handleDateField ()
102 102
     {
103
-        if (!isset($this->frontMatter['date'])) { return; }
103
+        if (!isset($this->frontMatter['date']))
104
+        {
105
+return; }
104 106
 
105 107
         $date = &$this->frontMatter['date'];
106 108
 
@@ -119,7 +121,9 @@  discard block
 block discarded – undo
119 121
             {
120 122
                 $itemDate = new \DateTime($date);
121 123
             }
122
-            catch (\Exception $e) { return; }
124
+            catch (\Exception $e)
125
+            {
126
+return; }
123 127
         }
124 128
 
125 129
         if (!$itemDate === false)
@@ -271,7 +275,9 @@  discard block
 block discarded – undo
271 275
 
272 276
             if (is_array($value) || is_bool($value))
273 277
             {
274
-                if ($ignoreArrays) { continue; }
278
+                if ($ignoreArrays)
279
+                {
280
+continue; }
275 281
 
276 282
                 throw new YamlUnsupportedVariableException("Yaml variable `$variable` for `$key` is not a supported data type.");
277 283
             }
Please login to merge, or discard this patch.