mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-28 08:14:25 +02:00
Ivan - Backend - Fix captcha tests
This commit is contained in:
parent
d1f1909cc3
commit
12cf0df27f
@ -87,7 +87,7 @@ class Mock {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function __call($method, $arguments) {
|
public function __call($method, $arguments) {
|
||||||
if (isset($this->{$method}) && is_callable($this->{$method})) {
|
if (@isset($this->{$method}) && is_callable($this->{$method})) {
|
||||||
return call_user_func_array($this->{$method}, $arguments);
|
return call_user_func_array($this->{$method}, $arguments);
|
||||||
} else if (!self::__callStatic($method, $arguments)) {
|
} else if (!self::__callStatic($method, $arguments)) {
|
||||||
throw new Exception("Fatal error: Call to undefined method stdObject::{$method}()");
|
throw new Exception("Fatal error: Call to undefined method stdObject::{$method}()");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user