Skip to content

Commit 391ff3b

Browse files
committed
Apply operator_linebreak PHP-CS-Fixer rule
1 parent 2e73e34 commit 391ff3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PropertyAccessor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ private function readPropertiesUntil(array $zval, PropertyPathInterface $propert
301301

302302
if ($isIndex) {
303303
// Create missing nested arrays on demand
304-
if (($zval[self::VALUE] instanceof \ArrayAccess && !$zval[self::VALUE]->offsetExists($property)) ||
305-
(\is_array($zval[self::VALUE]) && !isset($zval[self::VALUE][$property]) && !\array_key_exists($property, $zval[self::VALUE]))
304+
if (($zval[self::VALUE] instanceof \ArrayAccess && !$zval[self::VALUE]->offsetExists($property))
305+
|| (\is_array($zval[self::VALUE]) && !isset($zval[self::VALUE][$property]) && !\array_key_exists($property, $zval[self::VALUE]))
306306
) {
307307
if (!$ignoreInvalidIndices) {
308308
if (!\is_array($zval[self::VALUE])) {

0 commit comments

Comments
 (0)