diff options
author | Remi Collet <remi@remirepo.net> | 2021-03-25 14:03:32 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-03-25 14:03:32 +0100 |
commit | 4dbbcb9e8331e47605588e34f09b3a6dfc09aebb (patch) | |
tree | e340e86c9c9e54401895c496e5f9259b71d87bc8 /php-laminas-hydrator-php8.patch | |
parent | df3d7150b4d076c1f735804feba2508ace170aa2 (diff) |
Diffstat (limited to 'php-laminas-hydrator-php8.patch')
-rw-r--r-- | php-laminas-hydrator-php8.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/php-laminas-hydrator-php8.patch b/php-laminas-hydrator-php8.patch new file mode 100644 index 0000000..c861f2d --- /dev/null +++ b/php-laminas-hydrator-php8.patch @@ -0,0 +1,12 @@ +diff -up ./src/ArraySerializable.php.php8 ./src/ArraySerializable.php +--- ./src/ArraySerializable.php.php8 2021-03-25 13:59:16.746513687 +0100 ++++ ./src/ArraySerializable.php 2021-03-25 13:59:20.978497492 +0100 +@@ -70,7 +70,7 @@ class ArraySerializable extends Abstract + // Ensure any previously populated values not in the replacement + // remain following population. + if (is_callable([$object, 'getArrayCopy'])) { +- $original = $object->getArrayCopy($object); ++ $original = $object->getArrayCopy(); + $replacement = array_merge($original, $replacement); + } + $object->exchangeArray($replacement); |