Skip to content

Commit

Permalink
Retry b2a6fe6
Browse files Browse the repository at this point in the history
  • Loading branch information
daftspunk committed Apr 11, 2024
1 parent 10d8d89 commit a9566ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Extension/ExtendableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ public function extendableGet($name)
}
}

$parent = get_parent_class();
$parent = get_parent_class(self::class);
if ($parent !== false && method_exists($parent, '__get')) {
return parent::__get($name);
}
Expand Down Expand Up @@ -468,7 +468,7 @@ public function extendableSet($name, $value)
}

// This targets trait usage in particular
$parent = get_parent_class();
$parent = get_parent_class(self::class);
if ($parent !== false && method_exists($parent, '__set')) {
parent::__set($name, $value);
$found = true;
Expand Down Expand Up @@ -504,7 +504,7 @@ public function extendableCall($name, $params = null)
return call_user_func_array($callable, $params);
}

$parent = get_parent_class();
$parent = get_parent_class(self::class);
if ($parent !== false && method_exists($parent, '__call')) {
return parent::__call($name, $params);
}
Expand Down

0 comments on commit a9566ca

Please sign in to comment.