1 | <?php |
||
16 | class Scanned extends Handler |
||
17 | { |
||
18 | protected $check = false; |
||
19 | |||
20 | /** |
||
21 | * @var string|null |
||
22 | */ |
||
23 | protected $alert; |
||
24 | |||
25 | /** |
||
26 | * @param string $message |
||
27 | * |
||
28 | * @return $this |
||
29 | */ |
||
30 | public function alert(string $message) |
||
36 | |||
37 | /** |
||
38 | * @param callable $callback |
||
39 | * |
||
40 | * @return \Symfony\Component\HttpFoundation\Response |
||
41 | */ |
||
42 | public function handle(callable $callback): Response |
||
62 | } |
||
63 |
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.