Skip to content

Commit

Permalink
Support to passing variables by reference
Browse files Browse the repository at this point in the history
  • Loading branch information
phpmathan committed Jul 18, 2020
1 parent bd30fd8 commit cc44a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stdlib/src/Helper/PhpHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class PhpHelper
*
* @return mixed
*/
public static function call($cb, ...$args)
public static function call($cb, &...$args)
{
if (is_string($cb)) {
// className::method
Expand Down

0 comments on commit cc44a03

Please sign in to comment.