1 | <?php |
||
13 | abstract class AbstractHandler implements HandlerInterface, FormatterContainerInterface |
||
14 | { |
||
15 | use FormatterContainerTrait; |
||
16 | |||
17 | /** @var int */ |
||
18 | protected $level; |
||
19 | |||
20 | /** @var bool */ |
||
21 | protected $pass; |
||
22 | |||
23 | /** |
||
24 | * @param int $level |
||
25 | * @param bool $pass |
||
26 | */ |
||
27 | 14 | public function __construct($level = HandlerInterface::DEFAULT_LEVEL, $pass = HandlerInterface::DEFAULT_PASS) |
|
32 | |||
33 | /** |
||
34 | * @return int |
||
35 | */ |
||
36 | public function getLevel() |
||
40 | |||
41 | /** |
||
42 | * @param int $level |
||
43 | */ |
||
44 | public function setLevel($level) |
||
48 | |||
49 | /** |
||
50 | * @return bool |
||
51 | */ |
||
52 | public function isPass() |
||
56 | |||
57 | /** |
||
58 | * @param bool $pass |
||
59 | */ |
||
60 | public function setPass($pass) |
||
64 | |||
65 | /** |
||
66 | * @inheritdoc |
||
67 | */ |
||
68 | 12 | public function isHandling(Record $record) |
|
72 | |||
73 | /** |
||
74 | * @inheritdoc |
||
75 | */ |
||
76 | 12 | public function handle(Record $record) |
|
92 | |||
93 | /** |
||
94 | * @param Record $record |
||
95 | * |
||
96 | * @return null|false |
||
97 | */ |
||
98 | abstract protected function write(Record $record); |
||
99 | } |
||
100 |
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.