From ce7ec254b1c4aff8bb82fe1ab4e6c5ade5bd5c9a Mon Sep 17 00:00:00 2001 From: Meritoo Date: Sun, 11 Aug 2019 12:55:12 +0200 Subject: [PATCH] Increase Mutation Score Indicator (MSI) by removing "src/Type/Base/BaseType.php:37 [M] TrueValue" mutant --- src/Type/Base/BaseType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Type/Base/BaseType.php b/src/Type/Base/BaseType.php index a1465be..d3e49cc 100644 --- a/src/Type/Base/BaseType.php +++ b/src/Type/Base/BaseType.php @@ -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()); } /**