|
@@ -698,7 +698,7 @@ |
|
|
block discarded – undo |
|
698
|
698
|
if (preg_match_all(Patterns::$SPLIT_PATTERN_SHORTHANDSYNTAX_ARRAY_PARTS, $arrayText, $matches, PREG_SET_ORDER)) { |
|
699
|
699
|
foreach ($matches as $singleMatch) { |
|
700
|
700
|
$arrayKey = $this->unquoteString($singleMatch['Key']); |
|
701
|
|
- if (array_key_exists('Subarray', $singleMatch) && !empty($singleMatch['Subarray'])){ |
|
|
701
|
+ if (array_key_exists('Subarray', $singleMatch) && !empty($singleMatch['Subarray'])) { |
|
702
|
702
|
$arrayToBuild[$arrayKey] = new ArrayNode($this->recursiveArrayHandler($singleMatch['Subarray'])); |
|
703
|
703
|
} elseif (!empty($singleMatch['VariableIdentifier'])) { |
|
704
|
704
|
$arrayToBuild[$arrayKey] = new ObjectAccessorNode($singleMatch['VariableIdentifier']); |
Please login to merge, or discard this patch.