| 1 | <?php |
||
| 4 | class PdoAddressUpdater |
||
| 5 | { |
||
| 6 | /** |
||
| 7 | * @var PDOStmt |
||
| 8 | */ |
||
| 9 | public $stmt; |
||
| 10 | |||
| 11 | |||
| 12 | /** |
||
| 13 | * @param \PDO $pdo |
||
| 14 | * @param string $table_name |
||
| 15 | */ |
||
| 16 | 6 | public function __construct( \PDO $pdo, string $table_name ) |
|
| 32 | |||
| 33 | |||
| 34 | |||
| 35 | 6 | public function __invoke( PdoAddressInterface $address ) : int |
|
| 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..