Skip to content

Commit f034764

Browse files
committed
Suppress some false positives errors with Psalm
1 parent 21d624a commit f034764

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
@@ -300,7 +300,11 @@ private static function getValidValue(
300300
}
301301
}
302302

303-
/** @var mixed $output */
303+
/**
304+
* @psalm-suppress MixedArgument, MixedMethodCall
305+
*
306+
* @var mixed $output
307+
*/
304308
$output = match ($type) {
305309
self::TYPE_ENUM => current($class::cases()), // TODO: fix this
306310
self::TYPE_CUSTOM_CLASS => new $class(...$params),

0 commit comments

Comments
 (0)