| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 5 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 18 | $this->connections = $connections; |
||
|
|
|||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param string $category |
||
| 23 | * @param string $path |
||
| 24 | * |
||
| 25 | * @return array|false |
||
| 26 | */ |
||
| 27 | public function findByPath($category, $path) |
||
| 28 | { |
||
| 29 | $query = " |
||
| 30 | SELECT `id`, `title`, `path`, `date`, `body`, `category` |
||
| 31 | FROM `jpemeric_blog`.`post` |
||
| 32 | WHERE `path` = :path AND `category` = :category AND `display` = :is_active |
||
| 33 | LIMIT 1"; |
||
| 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..