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.
2 parents 46b53fd + b40e92f commit 90d3362Copy full SHA for 90d3362
Cloner/Stub.php
@@ -48,7 +48,7 @@ public function __sleep(): array
48
{
49
$properties = [];
50
51
- if (!isset(self::$defaultProperties[$c = \get_class($this)])) {
+ if (!isset(self::$defaultProperties[$c = static::class])) {
52
self::$defaultProperties[$c] = get_class_vars($c);
53
54
foreach ((new \ReflectionClass($c))->getStaticProperties() as $k => $v) {
0 commit comments