We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c991a58 commit 352a00eCopy full SHA for 352a00e
1 file changed
functions.php
@@ -95,7 +95,7 @@ function tap(mixed $value, callable $callable = null): mixed
95
public function __construct(private mixed $value) {}
96
public function __call($method, $arguments) {
97
// @codeCoverageIgnoreStart
98
- $this->value->{$method}(...$arguments);
+ ([$this->value, $method])(...$arguments);
99
return $this->value;
100
// @codeCoverageIgnoreEnd
101
}
0 commit comments