Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
44 | public function __call($method, array $params = []) |
||
45 | { |
||
46 | if (is_callable($this->widget, $method)) { |
||
47 | return call_user_func_array([$this->widget, $method], $params); |
||
48 | } |
||
49 | throw new InvalidArgumentException( |
||
50 | sprintf( |
||
51 | '"%s" does not have a method of "%s"', |
||
52 | get_class($this->widget), |
||
53 | $method |
||
54 | ) |
||
55 | ); |
||
56 | } |
||
57 | } |
||
58 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.