We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a3ea59 commit ef3054cCopy full SHA for ef3054c
Internal/Exporter.php
@@ -82,7 +82,7 @@ public static function prepare($values, $objectsPool, &$refsPool, &$objectsCount
82
}
83
84
if (!\is_array($properties = $value->__serialize())) {
85
- throw new \Typerror($class.'::__serialize() must return an array');
+ throw new \TypeError($class.'::__serialize() must return an array');
86
87
88
goto prepare_value;
0 commit comments