From c3e2eb68662634b1ad0a212894f400a0a90976ab Mon Sep 17 00:00:00 2001 From: Vito Famiglietti Date: Mon, 27 May 2019 10:37:37 +0200 Subject: [PATCH] remove default value and type hinting for magic methods --- src/Lush.php | 2 +- src/Response/LushResponse.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Lush.php b/src/Lush.php index e54be89..392d823 100644 --- a/src/Lush.php +++ b/src/Lush.php @@ -151,7 +151,7 @@ public function request($method) * * @return \Appstract\LushHttp\Response\LushResponse */ - public function __call($method, array $arguments = []) + public function __call($method, $arguments) { $scope = $this; diff --git a/src/Response/LushResponse.php b/src/Response/LushResponse.php index 10ff46a..0b1f0d1 100644 --- a/src/Response/LushResponse.php +++ b/src/Response/LushResponse.php @@ -153,7 +153,7 @@ public function &__get($property) * * @return mixed */ - public function __call($method, $arguments = []) + public function __call($method, $arguments) { return call_user_func_array([$this->getCollection(), $method], $arguments); }