mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Remove unnecessary return types
This commit is contained in:
parent
37419e06fc
commit
1f2ecb923e
@ -96,10 +96,7 @@ class DocGenObjectNormalizer implements NormalizerAwareInterface, NormalizerInte
|
|||||||
return 'docgen' === $format && (is_object($data) || null === $data);
|
return 'docgen' === $format && (is_object($data) || null === $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
private function getExpectedType(AttributeMetadata $attribute, ReflectionClass $reflection): string
|
||||||
* @return string|array<string>
|
|
||||||
*/
|
|
||||||
private function getExpectedType(AttributeMetadata $attribute, ReflectionClass $reflection): string|array
|
|
||||||
{
|
{
|
||||||
$type = null;
|
$type = null;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user