浏览代码

Correctif repo

develop
Fab 3 年前
父节点
当前提交
41192bf269
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      Repository/Reminder/ReminderRepositoryQuery.php

+ 3
- 3
Repository/Reminder/ReminderRepositoryQuery.php 查看文件

@@ -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

正在加载...
取消
保存