66use PHPStan \Reflection \ClassReflection ;
77use PHPStan \Reflection \FunctionVariant ;
88use PHPStan \Reflection \MethodReflection ;
9+ use PHPStan \Reflection \ParametersAcceptor ;
910use PHPStan \Reflection \ReflectionProvider ;
1011use PHPStan \TrinaryLogic ;
1112use PHPStan \Type \Generic \TemplateTypeMap ;
@@ -19,14 +20,11 @@ class RepositoryFindOneByMethodReflection implements MethodReflection
1920
2021 use Typo3ClassNamingUtilityTrait;
2122
22- /** @var \PHPStan\Reflection\ClassReflection */
23- private $ classReflection ;
23+ private ClassReflection $ classReflection ;
2424
25- /** @var string */
26- private $ name ;
25+ private string $ name ;
2726
28- /** @var ReflectionProvider */
29- private $ reflectionProvider ;
27+ private ReflectionProvider $ reflectionProvider ;
3028
3129 public function __construct (ClassReflection $ classReflection , string $ name , ReflectionProvider $ reflectionProvider )
3230 {
@@ -105,7 +103,7 @@ public function getReturnType(): Type
105103 }
106104
107105 /**
108- * @return \PHPStan\Reflection\ ParametersAcceptor[]
106+ * @return ParametersAcceptor[]
109107 */
110108 public function getVariants (): array
111109 {
@@ -125,7 +123,7 @@ public function getDocComment(): ?string
125123 return null ;
126124 }
127125
128- public function isDeprecated (): \ PHPStan \ TrinaryLogic
126+ public function isDeprecated (): TrinaryLogic
129127 {
130128 return TrinaryLogic::createNo ();
131129 }
@@ -135,22 +133,22 @@ public function getDeprecatedDescription(): ?string
135133 return null ;
136134 }
137135
138- public function isFinal (): \ PHPStan \ TrinaryLogic
136+ public function isFinal (): TrinaryLogic
139137 {
140138 return TrinaryLogic::createNo ();
141139 }
142140
143- public function isInternal (): \ PHPStan \ TrinaryLogic
141+ public function isInternal (): TrinaryLogic
144142 {
145143 return TrinaryLogic::createNo ();
146144 }
147145
148- public function getThrowType (): ?\ PHPStan \ Type \ Type
146+ public function getThrowType (): ?Type
149147 {
150148 return null ;
151149 }
152150
153- public function hasSideEffects (): \ PHPStan \ TrinaryLogic
151+ public function hasSideEffects (): TrinaryLogic
154152 {
155153 return TrinaryLogic::createNo ();
156154 }
0 commit comments