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

remove default value and type hinting for magic methods #30

Merged
merged 1 commit into from
May 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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