mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Add suppression and note
This commit is contained in:
parent
3e6294e97b
commit
fe4928cf8d
@ -244,6 +244,7 @@ final class FunctionLikeNodeScanner
|
||||
if ($stmt instanceof PhpParser\Node\Stmt\Function_
|
||||
|| $stmt instanceof PhpParser\Node\Stmt\ClassMethod
|
||||
) {
|
||||
/** @psalm-suppress RedundantCondition See https://github.com/vimeo/psalm/issues/10296 */
|
||||
if ($stmt instanceof PhpParser\Node\Stmt\ClassMethod
|
||||
&& $storage instanceof MethodStorage
|
||||
&& $classlike_storage
|
||||
|
Loading…
Reference in New Issue
Block a user