Skip to content

Commit

Permalink
Merge branch '3.4' into 4.4
Browse files Browse the repository at this point in the history
* 3.4:
  Fix CS
  • Loading branch information
fabpot committed Feb 4, 2020
2 parents 46b53fd + b40e92f commit 90d3362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cloner/Stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function __sleep(): array
{
$properties = [];

if (!isset(self::$defaultProperties[$c = \get_class($this)])) {
if (!isset(self::$defaultProperties[$c = static::class])) {
self::$defaultProperties[$c] = get_class_vars($c);

foreach ((new \ReflectionClass($c))->getStaticProperties() as $k => $v) {
Expand Down

0 comments on commit 90d3362

Please sign in to comment.