1 | <?php |
||
18 | class ApprovedByPropertyAnnotator { |
||
19 | |||
20 | /** |
||
21 | * @var DatabaseLogReader |
||
22 | */ |
||
23 | private $databaseLogReader; |
||
24 | |||
25 | /** |
||
26 | * @var Integer|null |
||
27 | */ |
||
28 | private $approvedBy; |
||
29 | |||
30 | /** |
||
31 | * @param DatabaseLogReader $databaseLogReader |
||
32 | */ |
||
33 | 3 | public function __construct( DatabaseLogReader $databaseLogReader ) { |
|
36 | |||
37 | /** |
||
38 | * @since 1.0 |
||
39 | * |
||
40 | * @param string $approvedBy |
||
41 | */ |
||
42 | 2 | public function setApprovedBy( $approvedBy ) { |
|
45 | |||
46 | /** |
||
47 | * @since 1.0 |
||
48 | * |
||
49 | * @return DIProperty |
||
50 | */ |
||
51 | 2 | public function newDIProperty() { |
|
54 | |||
55 | /** |
||
56 | * @since 1.0 |
||
57 | * |
||
58 | * @param SemanticData $semanticData |
||
59 | */ |
||
60 | 2 | public function addAnnotation( SemanticData $semanticData ) { |
|
77 | |||
78 | 2 | private function newDIWikiPage() { |
|
90 | |||
91 | } |
||
92 |
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..