Skip to content

Commit 68a36a3

Browse files
committed
Merge branch '4.4' into 5.1
2 parents 5d77df9 + 3b305a2 commit 68a36a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PropertyAccessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ private static function throwInvalidArgumentException(string $message, array $tr
209209
}
210210

211211
if (preg_match('/^\S+::\S+\(\): Argument #\d+ \(\$\S+\) must be of type (\S+), (\S+) given/', $message, $matches)) {
212-
list(, $expectedType, $actualType) = $matches;
212+
[, $expectedType, $actualType] = $matches;
213213

214214
throw new InvalidArgumentException(sprintf('Expected argument of type "%s", "%s" given at property path "%s".', $expectedType, 'NULL' === $actualType ? 'null' : $actualType, $propertyPath), 0, $previous);
215215
}

0 commit comments

Comments
 (0)