| 1 | <?php |
||
| 6 | class FakeResultWrapper extends ResultWrapper { |
||
| 7 | /** @var $result stdClass[] */ |
||
| 8 | |||
| 9 | /** |
||
| 10 | * @param stdClass[] $rows |
||
| 11 | */ |
||
| 12 | function __construct( array $rows ) { |
||
| 15 | |||
| 16 | function numRows() { |
||
| 19 | |||
| 20 | function fetchRow() { |
||
| 33 | |||
| 34 | function seek( $row ) { |
||
| 37 | |||
| 38 | function free() { |
||
| 40 | |||
| 41 | function fetchObject() { |
||
| 49 | |||
| 50 | function rewind() { |
||
| 54 | |||
| 55 | function next() { |
||
| 58 | } |
||
| 59 |
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..