Fixed some minor inspection issues caused by the doctrine upgrades

This commit is contained in:
Jan Böhmer 2024-06-09 23:51:41 +02:00
parent 78671b0bfe
commit 0d445b6a21
2 changed files with 1 additions and 3 deletions

View file

@ -50,6 +50,6 @@ class CustomFetchJoinORMAdapter extends FetchJoinORMAdapter
$paginator = new Paginator($qb_without_group_by);
return $paginator->count() ?? 0;
return $paginator->count();
}
}

View file

@ -64,8 +64,6 @@ class UTCDateTimeType extends DateTimeType
*
* @param T $value
*
* @return DateTime|(T is null ? null : DateTimeInterface)
*
* @template T
*/
public function convertToPHPValue($value, AbstractPlatform $platform): ?DateTime