Completed
Push — develop ( 243eed...c57941 )
by Neomerx
04:49
created
src/Rules/Types/IsString.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,6 @@
 block discarded – undo
40 40
     public static function execute($value, ContextInterface $context): array
41 41
     {
42 42
         return is_string($value) === true ?
43
-            static::createSuccessReply($value) :
44
-            static::createErrorReply($context, $value, ErrorCodes::IS_STRING, Messages::IS_STRING, []);
43
+            static::createSuccessReply($value) : static::createErrorReply($context, $value, ErrorCodes::IS_STRING, Messages::IS_STRING, []);
45 44
     }
46 45
 }
Please login to merge, or discard this patch.