diff --git a/src/Handlers/SuppressHandler.php b/src/Handlers/SuppressHandler.php index f15895e..c01ac3a 100644 --- a/src/Handlers/SuppressHandler.php +++ b/src/Handlers/SuppressHandler.php @@ -108,7 +108,10 @@ class SuppressHandler implements AfterClassLikeVisitInterface foreach (self::BY_CLASS_METHOD as $issue => $method_by_class) { foreach ($method_by_class[$class->name] ?? [] as $method_name) { - /** @psalm-suppress RedundantCast */ + /** + * @psalm-suppress RedundantCast + * @psalm-suppress RedundantFunctionCall + */ self::suppress($issue, $class->methods[strtolower($method_name)] ?? null); } }