diff options
Diffstat (limited to 'vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php')
-rw-r--r-- | vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php b/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php index 96196a3..601c13a 100644 --- a/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php +++ b/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php @@ -70,7 +70,7 @@ trait StreamDecoratorTrait { /** @var callable $callable */ $callable = [$this->stream, $method]; - $result = call_user_func_array($callable, $args); + $result = ($callable)(...$args); // Always return the wrapped object if the result is a return $this return $result === $this->stream ? $this : $result; |