mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 18:28:49 +02:00
Fixed some minor inspection issues caused by the doctrine upgrades
This commit is contained in:
parent
78671b0bfe
commit
0d445b6a21
2 changed files with 1 additions and 3 deletions
|
@ -50,6 +50,6 @@ class CustomFetchJoinORMAdapter extends FetchJoinORMAdapter
|
||||||
|
|
||||||
$paginator = new Paginator($qb_without_group_by);
|
$paginator = new Paginator($qb_without_group_by);
|
||||||
|
|
||||||
return $paginator->count() ?? 0;
|
return $paginator->count();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,8 +64,6 @@ class UTCDateTimeType extends DateTimeType
|
||||||
*
|
*
|
||||||
* @param T $value
|
* @param T $value
|
||||||
*
|
*
|
||||||
* @return DateTime|(T is null ? null : DateTimeInterface)
|
|
||||||
*
|
|
||||||
* @template T
|
* @template T
|
||||||
*/
|
*/
|
||||||
public function convertToPHPValue($value, AbstractPlatform $platform): ?DateTime
|
public function convertToPHPValue($value, AbstractPlatform $platform): ?DateTime
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue