It seems like $connections of type object<Aura\Sql\ConnectionLocator> is incompatible with the declared type object<Jacobemerick\Web\...\Sql\ConnectionLocator> of property $connections.
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..
Loading history...
19
}
20
21
/**
22
* @param integer $post
23
*
24
* @return array|false
25
*/
26
public function getSeriesForPost($post)
27
{
28
$query = "
29
SELECT `series`.`title` AS `series_title`, `series`.`description` AS `series_descriptions`,
30
`post.id` AS `post`, `post`.`title`, `post`.`category`, `post`.`path`
31
FROM `jpemeric_blog`.`series`
32
INNER JOIN `jpemeric_blog`.`series_post` ON `series_post`.`series` = `series.`id`
33
INNER JOIN `jpemeric_blog`.`post` ON `post`.`id` = `series_post`.`post` AND
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..