@@ -100,7 +100,9 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |