Skip to content

Commit

Permalink
Remove internal method
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Nov 18, 2023
1 parent cb073b6 commit a920c3e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Serializer/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,6 @@ public static function list(ReflectionParameter|ReflectionProperty $reflectionPr
$reflectionProperty instanceof ReflectionProperty => 'The property `'.$reflectionProperty->getName().'` must be typed.',
});

return self::typeList($reflectionType);
}

/**
* @return list<array{0:Type, 1: ReflectionNamedType}>
*/
private static function typeList(ReflectionType $reflectionType): array
{
$foundTypes = static function (array $res, ReflectionType $reflectionType) {
if (!$reflectionType instanceof ReflectionNamedType) {
return $res;
Expand Down

0 comments on commit a920c3e

Please sign in to comment.