mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-05 23:15:50 +01:00
Improved typing and phpdoc type annotations
This commit is contained in:
@@ -45,7 +45,10 @@ class BigNumberNormalizer implements NormalizerInterface
|
||||
return (string) $object;
|
||||
}
|
||||
|
||||
public function getSupportedTypes(?string $format)
|
||||
/**
|
||||
* @return bool[]
|
||||
*/
|
||||
public function getSupportedTypes(?string $format): array
|
||||
{
|
||||
return [
|
||||
BigNumber::class => true,
|
||||
|
||||
Reference in New Issue
Block a user