Skip to content
This repository has been archived by the owner on Mar 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #30 from smokills/hotfix/call-default-value
Browse files Browse the repository at this point in the history
remove default value and type hinting for magic methods
  • Loading branch information
ovanschie authored May 28, 2019
2 parents 771c501 + c3e2eb6 commit 5e36317
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Lush.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/Response/LushResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5e36317

Please sign in to comment.