@@ -9,7 +9,9 @@ |
||
| 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; |
@@ -218,7 +218,9 @@ |
||
| 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 | } |