| 1 | <?php |
||
| 7 | class MysqlSeriesRepository implements SeriesRepositoryInterface |
||
| 8 | { |
||
| 9 | |||
| 10 | /** @var Aura\Sql\ConnectionLocator */ |
||
| 11 | protected $connections; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param Aura\Sql\ConnectionLocator |
||
| 15 | */ |
||
| 16 | public function __construct(ConnectionLocator $connections) |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param integer $post |
||
| 23 | * |
||
| 24 | * @return array|false |
||
| 25 | */ |
||
| 26 | public function getSeriesForPost($post) |
||
| 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..