Skip to content

Commit e92c0b5

Browse files
committed
add type hint in documentation
1 parent 7cea86e commit e92c0b5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/en/dbal-type.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ To register a custom DBAL type, create a class that extends
2424
return $platform->getDecimalTypeDeclarationSQL($column);
2525
}
2626
27-
public function convertToPHPValue($value, AbstractPlatform $platform): mixed
27+
public function convertToPHPValue(mixed $value, AbstractPlatform $platform): mixed
2828
{
2929
return $value;
3030
}
3131
32-
public function convertToDatabaseValue($value, AbstractPlatform $platform): mixed
32+
public function convertToDatabaseValue(mixed $value, AbstractPlatform $platform): mixed
3333
{
3434
return $value;
3535
}

0 commit comments

Comments
 (0)