mirror of
https://github.com/Respect/Validation.git
synced 2024-06-27 17:50:13 +02:00
Fix error «Call-time pass-by-reference has been deprecated»
This commit is contained in:
parent
0615574123
commit
8a0d34c288
|
@ -7,7 +7,7 @@ class Call extends AbstractRelated
|
|||
|
||||
public function getReferenceValue($input)
|
||||
{
|
||||
return call_user_func($this->reference, &$input);
|
||||
return call_user_func_array($this->reference, array(&$input));
|
||||
}
|
||||
|
||||
public function hasReference($input)
|
||||
|
|
Loading…
Reference in a new issue