Skip to content

Commit

Permalink
fix static array
Browse files Browse the repository at this point in the history
  • Loading branch information
spacedevin committed Jan 23, 2018
1 parent 9df772d commit 979e3d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ public static function __o_static() {
}

public static function __q_static() {
return forward_static_call_array('__query_static', func_get_args());
return forward_static_call_array([get_called_class(), '__query_static'], func_get_args());
}

public static function __query_static() {
Expand Down

0 comments on commit 979e3d9

Please sign in to comment.