| 1 | <?php |
||
| 14 | class ScriptWitnessSerializer |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var Template |
||
| 18 | */ |
||
| 19 | private $varstring; |
||
| 20 | |||
| 21 | 1332 | public function __construct() |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @param Parser $parser |
||
| 28 | * @param $size |
||
| 29 | * @return ScriptWitness |
||
| 30 | */ |
||
| 31 | public function fromParser(Parser $parser, $size) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param ScriptWitnessInterface $witness |
||
| 44 | * @return BufferInterface |
||
| 45 | */ |
||
| 46 | 22 | public function serialize(ScriptWitnessInterface $witness) |
|
| 56 | } |
||
| 57 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..