Skip to content

Commit ee27231

Browse files
committed
Merge branch '4.4' into 5.1
2 parents 79466f9 + d9dea51 commit ee27231

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
@@ -122,7 +122,7 @@ public function setValue(&$objectOrArray, $propertyPath, $value)
122122

123123
return;
124124
} catch (\TypeError $e) {
125-
self::throwInvalidArgumentException($e->getMessage(), $e->getTrace(), 0, $propertyPath);
125+
self::throwInvalidArgumentException($e->getMessage(), $e->getTrace(), 0, $propertyPath, $e);
126126
// It wasn't thrown in this class so rethrow it
127127
throw $e;
128128
}

0 commit comments

Comments
 (0)