Skip to content

Commit 84f2199

Browse files
committed
Suppress some false positives errors with Psalm
1 parent 4152295 commit 84f2199

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/Utils/PhpUnitUtil.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,11 @@ private static function getValidValue(
296296
}
297297
}
298298

299-
/** @var mixed $output */
299+
/**
300+
* @psalm-suppress MixedArgument, MixedMethodCall
301+
*
302+
* @var mixed $output
303+
*/
300304
$output = match ($type) {
301305
self::TYPE_ENUM => current($class::cases()), // TODO: fix this
302306
self::TYPE_CUSTOM_CLASS => new $class(...$params),

0 commit comments

Comments
 (0)