Skip to content

Commit 52b27c1

Browse files
committed
fix
1 parent e1a3c67 commit 52b27c1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Reflection/ResolvedFunctionVariantWithOriginal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public function getReturnTypeWithUnresolvableTemplateTypes(): Type
145145
);
146146
}
147147

148-
public function getPhpDocReturnTypeWithUnresolvableTemplateTypes(): Type
148+
private function getPhpDocReturnTypeWithUnresolvableTemplateTypes(): Type
149149
{
150150
return $this->phpDocReturnTypeWithUnresolvableTemplateTypes ??=
151151
$this->resolveConditionalTypesForParameter(

src/Rules/Comparison/ConstantConditionRuleHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function __construct(
2222
{
2323
}
2424

25-
public function shouldSkip(Scope $scope, Expr $expr): bool
25+
private function shouldSkip(Scope $scope, Expr $expr): bool
2626
{
2727
if (
2828
$expr instanceof Expr\BinaryOp\Equal

src/Rules/Methods/MethodParameterComparisonHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ public function compare(ExtendedMethodReflection $prototype, ClassReflection $pr
362362
return $messages;
363363
}
364364

365-
public function isParameterTypeCompatible(Type $methodParameterType, Type $prototypeParameterType, bool $supportsContravariance): bool
365+
private function isParameterTypeCompatible(Type $methodParameterType, Type $prototypeParameterType, bool $supportsContravariance): bool
366366
{
367367
return $this->isTypeCompatible($methodParameterType, $prototypeParameterType, $supportsContravariance, false);
368368
}

0 commit comments

Comments
 (0)