1 | <?php |
||
13 | class ScriptWitnessSerializer |
||
14 | { |
||
15 | /** |
||
16 | * @var Template |
||
17 | */ |
||
18 | private $template; |
||
19 | |||
20 | public function __construct() |
||
26 | |||
27 | /** |
||
28 | * @param Parser $parser |
||
29 | * @param $size |
||
30 | * @return ScriptWitness |
||
31 | */ |
||
32 | public function fromParser(Parser $parser, $size) |
||
42 | 66 | ||
43 | 66 | /** |
|
44 | 66 | * @param ScriptWitnessInterface $witness |
|
45 | 33 | * @return BufferInterface |
|
46 | 66 | */ |
|
47 | public function serialize(ScriptWitnessInterface $witness) |
||
57 | } |
||
58 |
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.