mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2024-11-30 04:39:01 +01:00
suppress
This commit is contained in:
parent
f81164eee8
commit
86f26e6618
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user