1 | <?php |
||
9 | class LineMessage implements MessageBuilder |
||
10 | { |
||
11 | /** @var string[] */ |
||
12 | private $texts; |
||
13 | /** @var array */ |
||
14 | private $message = []; |
||
15 | |||
16 | public function __construct($text, $extraTexts = null) |
||
30 | |||
31 | /** |
||
32 | * Builds text message structure. |
||
33 | */ |
||
34 | public function buildMessage() : array |
||
48 | } |
||
49 |
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..