Skip to content

Commit a7de232

Browse files
committed
PhpParameterReflection - remove unnecessary code that could cause potential craashes
1 parent 1bb3a99 commit a7de232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Reflection/Php/PhpParameterReflection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function getType(): Type
4747
$this->type = TypehintHelper::decideTypeFromReflection(
4848
$this->reflection->getType(),
4949
$phpDocType,
50-
$this->reflection->getDeclaringClass() !== null ? $this->reflection->getDeclaringClass()->getName() : null,
50+
null,
5151
$this->isVariadic()
5252
);
5353
}

0 commit comments

Comments
 (0)