mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 01:31:45 +01:00
Increase Mutation Score Indicator (MSI) by removing "src/Type/Base/BaseType.php:37 [M] TrueValue" mutant
This commit is contained in:
@@ -34,7 +34,7 @@ abstract class BaseType
|
|||||||
*/
|
*/
|
||||||
public static function isCorrectType(?string $type): bool
|
public static function isCorrectType(?string $type): bool
|
||||||
{
|
{
|
||||||
return in_array($type, (new static())->getAll(), true);
|
return in_array($type, (new static())->getAll());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user