diff --git a/rules/Defluent/ConflictGuard/ParentClassMethodTypeOverrideGuard.php b/rules/Defluent/ConflictGuard/ParentClassMethodTypeOverrideGuard.php index 6ea55d691e1..ed15f166d8d 100644 --- a/rules/Defluent/ConflictGuard/ParentClassMethodTypeOverrideGuard.php +++ b/rules/Defluent/ConflictGuard/ParentClassMethodTypeOverrideGuard.php @@ -61,7 +61,7 @@ public function isReturnTypeChangeAllowed(ClassMethod $classMethod): bool // make sure return type is not protected by parent contract $parentClassMethodReflection = $this->getParentClassMethod($classMethod); - // nothign to check + // nothing to check if (! $parentClassMethodReflection instanceof MethodReflection) { return true; }