Skip to content

Commit ac6c7fc

Browse files
committed
Fix parent method call dispatch
1 parent fa3b864 commit ac6c7fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Universal/Syntax/Conditions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function __call($method, $args)
150150
}
151151

152152
if ($this->parent) {
153-
return call_user_func_array($this->parent, $args);
153+
return call_user_func_array([$this->parent, $method], $args);
154154
}
155155

156156
throw new BadMethodCallException("Invalid method call: $method");

0 commit comments

Comments
 (0)