Browse Source

Correctif repo

feature/symfony6.1
Fab 3 years ago
parent
commit
41192bf269
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Repository/Reminder/ReminderRepositoryQuery.php

+ 3
- 3
Repository/Reminder/ReminderRepositoryQuery.php View File

@@ -42,7 +42,7 @@ class ReminderRepositoryQuery extends AbstractRepositoryQuery implements Reminde
->setParameter(':user', $user);
}

public function filterByCrudAction(string $crudAction): self
public function filterByCrudAction(?string $crudAction= null): self
{
if (is_null($crudAction)) {
return $this
@@ -54,7 +54,7 @@ class ReminderRepositoryQuery extends AbstractRepositoryQuery implements Reminde
}
}

public function filterByCrudControllerFqcn(string $crudControllerFqcn): self
public function filterByCrudControllerFqcn(?string $crudControllerFqcn= null): self
{
if (is_null($crudControllerFqcn)) {
return $this
@@ -66,7 +66,7 @@ class ReminderRepositoryQuery extends AbstractRepositoryQuery implements Reminde
}
}

public function filterByEntityId(int $entityId): self
public function filterByEntityId(?int $entityId=null): self
{
if (is_null($entityId)) {
return $this

Loading…
Cancel
Save