| 1 | <?php | ||
| 16 | class ApprovedStatusPropertyAnnotator { | ||
| 17 | |||
| 18 | /** | ||
| 19 | * @var DatabaseLogReader | ||
| 20 | */ | ||
| 21 | private $databaseLogReader; | ||
| 22 | |||
| 23 | /** | ||
| 24 | * @var Integer|null | ||
| 25 | */ | ||
| 26 | private $approvedStatus; | ||
| 27 | |||
| 28 | /** | ||
| 29 | * @param DatabaseLogReader $databaseLogReader | ||
| 30 | */ | ||
| 31 | 3 | 	public function __construct( DatabaseLogReader $databaseLogReader ) { | |
| 34 | |||
| 35 | /** | ||
| 36 | * @since 1.0 | ||
| 37 | * | ||
| 38 | * @param string $approvedStatus | ||
| 39 | */ | ||
| 40 | 2 | 	public function setApprovedStatus( $approvedStatus ) { | |
| 43 | |||
| 44 | /** | ||
| 45 | * @since 1.0 | ||
| 46 | * | ||
| 47 | * @return DIProperty | ||
| 48 | */ | ||
| 49 | 2 | 	public function newDIProperty() { | |
| 52 | |||
| 53 | /** | ||
| 54 | * @since 1.0 | ||
| 55 | * | ||
| 56 | * @param SemanticData $semanticData | ||
| 57 | */ | ||
| 58 | 2 | 	public function addAnnotation( SemanticData $semanticData ) { | |
| 77 | |||
| 78 | } | ||
| 79 | 
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..