Passed
Push — master ( 49d2fb...018741 )
by Tim
03:17 queued 01:31
created
src/CustomAssertionTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
     private static function notInArray($value, array $values, string $message = ''): void
156 156
     {
157 157
         if (in_array($value, $values, true)) {
158
-            $callable = function ($value) {
158
+            $callable = function($value) {
159 159
                 return self::valueToString($value);
160 160
             };
161 161
 
Please login to merge, or discard this patch.
src/Assert.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -422,11 +422,11 @@  discard block
 block discarded – undo
422 422
 
423 423
         if (is_object($value)) {
424 424
             if (method_exists($value, '__toString')) {
425
-                return get_class($value) . ': ' . self::valueToString($value->__toString());
425
+                return get_class($value).': '.self::valueToString($value->__toString());
426 426
             }
427 427
 
428 428
             if ($value instanceof DateTime || $value instanceof DateTimeImmutable) {
429
-                return get_class($value) . ': ' . self::valueToString($value->format('c'));
429
+                return get_class($value).': '.self::valueToString($value->format('c'));
430 430
             }
431 431
 
432 432
             return get_class($value);
@@ -437,7 +437,7 @@  discard block
 block discarded – undo
437 437
         }
438 438
 
439 439
         if (is_string($value)) {
440
-            return '"' . $value . '"';
440
+            return '"'.$value.'"';
441 441
         }
442 442
 
443 443
         return strval($value);
Please login to merge, or discard this patch.