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 6e27754 commit e80e894Copy full SHA for e80e894
src/Reflection/ResolvedPropertyReflection.php
@@ -2,7 +2,6 @@
2
3
namespace PHPStan\Reflection;
4
5
-use PHPStan\Reflection\Php\PhpPropertyReflection;
6
use PHPStan\TrinaryLogic;
7
use PHPStan\Type\Generic\TemplateTypeHelper;
8
use PHPStan\Type\Generic\TemplateTypeMap;
@@ -40,15 +39,6 @@ public function getDeclaringClass(): ClassReflection
40
39
return $this->reflection->getDeclaringClass();
41
}
42
43
- public function getDeclaringTrait(): ?ClassReflection
44
- {
45
- if ($this->reflection instanceof PhpPropertyReflection) {
46
- return $this->reflection->getDeclaringTrait();
47
- }
48
-
49
- return null;
50
51
52
public function isStatic(): bool
53
{
54
return $this->reflection->isStatic();
0 commit comments