1 | <?php |
||
8 | abstract class AbstractUpdateTitle extends AbstractTranslatePropertyCommand |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | protected $title; |
||
14 | |||
15 | /** |
||
16 | * @param string $itemId |
||
17 | * @param Language $language |
||
18 | * @param StringLiteral $title |
||
19 | */ |
||
20 | public function __construct($itemId, Language $language, StringLiteral $title) |
||
25 | |||
26 | /** |
||
27 | * @return StringLiteral |
||
28 | */ |
||
29 | public function getTitle() |
||
33 | } |
||
34 |
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..