1 | <?php |
||
10 | class NativeException extends \Exception |
||
11 | { |
||
12 | protected $message; |
||
13 | |||
14 | /** |
||
15 | * NativeException constructor. Pass message insde the exception |
||
16 | * @param string|null $message |
||
17 | */ |
||
18 | public function __construct($message = null) { |
||
23 | |||
24 | /** |
||
25 | * Display native exception |
||
26 | * @param string $message |
||
27 | * @return string|unknown |
||
28 | */ |
||
29 | public function display($message = null) |
||
50 | |||
51 | /** |
||
52 | * Build html response |
||
53 | * @param unknown $message |
||
54 | */ |
||
55 | protected function sendHTML($message = null) |
||
60 | |||
61 | /** |
||
62 | * Build json response |
||
63 | * @param string $message |
||
64 | */ |
||
65 | protected function sendJSON($message = NULL) |
||
70 | } |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.