1 | <?php |
||
13 | trait ClassWatchdog { |
||
14 | /** |
||
15 | * @param string $method Method name |
||
16 | * @param array $args Arguments |
||
17 | * @throws UndefinedMethodCalled if call to undefined method |
||
18 | * @return mixed |
||
19 | */ |
||
20 | public function __call($method, $args) { |
||
23 | |||
24 | /** |
||
25 | * @param string $method Method name |
||
26 | * @param array $args Arguments |
||
27 | * @throws UndefinedMethodCalled if call to undefined static method |
||
28 | * @return mixed |
||
29 | */ |
||
30 | public static function __callStatic($method, $args) { |
||
33 | } |
||
34 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.