mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 10:24:31 +02:00
Fixed deprecations
This commit is contained in:
parent
5faeb5dd56
commit
8b8079a6f1
3 changed files with 4 additions and 4 deletions
|
@ -47,10 +47,10 @@ class TinyIntType extends Type
|
|||
* @param T $value
|
||||
*
|
||||
* @return (T is null ? null : int)
|
||||
*
|
||||
*
|
||||
* @template T
|
||||
*/
|
||||
public function convertToPHPValue($value, AbstractPlatform $platform)
|
||||
public function convertToPHPValue($value, AbstractPlatform $platform): ?int
|
||||
{
|
||||
return $value === null ? null : (int) $value;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue