We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 677a3b7 commit 25d243fCopy full SHA for 25d243f
src/AnnotationReader.php
@@ -235,8 +235,7 @@ static function ($attribute) {
235
public function getTypeAnnotation(ReflectionClass $refClass): TypeInterface|null
236
{
237
try {
238
- $type = $this->getClassAnnotation($refClass, Type::class)
239
- ?? $this->getClassAnnotation($refClass, Input::class);
+ $type = $this->getClassAnnotation($refClass, Type::class);
240
241
if ($type !== null && $type->isSelfType()) {
242
$type->setClass($refClass->getName());
0 commit comments