| 1 | <?php |
||
| 5 | class Film extends FilmAbstract implements FilmInterface |
||
| 6 | { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @return string |
||
| 10 | */ |
||
| 11 | 64 | public function __toString() |
|
| 20 | |||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $name |
||
| 24 | */ |
||
| 25 | 64 | public function setName( $name ) |
|
| 30 | |||
| 31 | |||
| 32 | /** |
||
| 33 | * @param string $manufacturer |
||
| 34 | */ |
||
| 35 | 64 | public function setManufacturer( $manufacturer ) |
|
| 40 | |||
| 41 | /** |
||
| 42 | * @param string $asa |
||
| 43 | */ |
||
| 44 | 48 | public function setAsa( $asa ) |
|
| 49 | |||
| 50 | |||
| 51 | } |
||
| 52 |
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..