@@ -392,7 +392,9 @@ |
||
392 | 392 | */ |
393 | 393 | final public function deleteFrontMatter ($key) |
394 | 394 | { |
395 | - if (!isset($this->writableFrontMatter[$key])) { return; } |
|
395 | + if (!isset($this->writableFrontMatter[$key])) |
|
396 | + { |
|
397 | +return; } |
|
396 | 398 | |
397 | 399 | unset($this->writableFrontMatter[$key]); |
398 | 400 | } |
@@ -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 | try |
106 | 108 | { |
@@ -266,7 +268,9 @@ discard block |
||
266 | 268 | |
267 | 269 | if (is_array($value) || is_bool($value)) |
268 | 270 | { |
269 | - if ($ignoreArrays) { continue; } |
|
271 | + if ($ignoreArrays) |
|
272 | + { |
|
273 | +continue; } |
|
270 | 274 | |
271 | 275 | throw new YamlUnsupportedVariableException("Yaml variable `$variable` for `$key` is not a supported data type."); |
272 | 276 | } |