| 1 | <?php |
||
| 7 | class MysqlPostRepository implements PostRepository |
||
| 8 | { |
||
| 9 | |||
| 10 | /** @var Aura\Sql\ConnectionLocator */ |
||
| 11 | protected $connections; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param Aura\Sql\ConnectionLocator $connections |
||
| 15 | */ |
||
| 16 | public function __construct(ConnectionLocator $connections) |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param string $category |
||
| 23 | * @param string $path |
||
| 24 | * |
||
| 25 | * @return array|false |
||
| 26 | */ |
||
| 27 | public function findByPath($category, $path) |
||
| 45 | } |
||
| 46 |
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..