Increase Mutation Score Indicator (MSI) by removing "src/Type/Base/BaseType.php:37 [M] TrueValue" mutant

This commit is contained in:
Meritoo
2019-08-11 12:55:12 +02:00
parent fe6ec278e3
commit ce7ec254b1

View File

@@ -34,7 +34,7 @@ abstract class BaseType
*/
public static function isCorrectType(?string $type): bool
{
return in_array($type, (new static())->getAll(), true);
return in_array($type, (new static())->getAll());
}
/**