Fix namespaces and move voters to corresponding bundles

This commit is contained in:
2024-06-27 12:44:36 +02:00
parent 742f2540f6
commit efaad1981d
6 changed files with 8 additions and 9 deletions

View File

@@ -106,7 +106,7 @@ class ActivityRepository extends ServiceEntityRepository implements AssociatedEn
* @throws NonUniqueResultException
* @throws NoResultException
*/
public function findAssociatedEntityToStoredObject(StoredObject $storedObject): ?object
public function findAssociatedEntityToStoredObject(StoredObject $storedObject): ?Activity
{
$qb = $this->createQueryBuilder('a');
$query = $qb