The expression return $this->createQueryBuilder()->find() returns the type Janisbiz\LightOrm\Entity\EntityInterface[]|string which is incompatible with the documented return type Janisbiz\LightOrm\Tests\...ty\TestTableTwoEntity[].
Loading history...
33
}
34
35
/**
36
* @return int
37
*/
38
public function readCount()
39
{
40
return $this->createQueryBuilder()->count();
41
}
42
43
/**
44
* @param TestTableTwoEntity $testTableTwoEntity
45
*/
46
public function deleteEntity(TestTableTwoEntity $testTableTwoEntity)