Skip to content

Commit 53eb552

Browse files
Reduce visibility
1 parent 1c6d393 commit 53eb552

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Rules/Comparison/ImpossibleCheckTypeHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ private function isExpressionDependentOnTraitContext(Scope $scope, Expr $expr):
419419
return false;
420420
}
421421

422-
public static function isExpressionDependentOnThis(Expr $expr): bool
422+
private static function isExpressionDependentOnThis(Expr $expr): bool
423423
{
424424
if ($expr instanceof Expr\Variable && $expr->name === 'this') {
425425
return true;

0 commit comments

Comments
 (0)