Completed
Push — master ( 1466a5...68742c )
by Lars
02:12
created
src/Arrayy.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1267,11 +1267,11 @@  discard block
 block discarded – undo
1267 1267
             \array_intersect($needles, $this->keys()->toArray()),
1268 1268
             \COUNT_NORMAL
1269 1269
         )
1270
-               ===
1271
-               \count(
1272
-                   $needles,
1273
-                   \COUNT_NORMAL
1274
-               );
1270
+                ===
1271
+                \count(
1272
+                    $needles,
1273
+                    \COUNT_NORMAL
1274
+                );
1275 1275
     }
1276 1276
 
1277 1277
     /**
@@ -1334,8 +1334,8 @@  discard block
 block discarded – undo
1334 1334
     public function containsValues(array $needles): bool
1335 1335
     {
1336 1336
         return \count(\array_intersect($needles, $this->toArray()), \COUNT_NORMAL)
1337
-               ===
1338
-               \count($needles, \COUNT_NORMAL);
1337
+                ===
1338
+                \count($needles, \COUNT_NORMAL);
1339 1339
     }
1340 1340
 
1341 1341
     /**
@@ -3024,15 +3024,15 @@  discard block
 block discarded – undo
3024 3024
 
3025 3025
         if ($recursive === true) {
3026 3026
             return $this->array_keys_recursive($this->toArray())
3027
-                   ===
3028
-                   \range(0, \count($this->toArray(), \COUNT_RECURSIVE) - 1);
3027
+                    ===
3028
+                    \range(0, \count($this->toArray(), \COUNT_RECURSIVE) - 1);
3029 3029
         }
3030 3030
 
3031 3031
         // non recursive
3032 3032
 
3033 3033
         return \array_keys($this->toArray())
3034
-               ===
3035
-               \range(0, \count($this->toArray(), \COUNT_NORMAL) - 1);
3034
+                ===
3035
+                \range(0, \count($this->toArray(), \COUNT_NORMAL) - 1);
3036 3036
     }
3037 3037
 
3038 3038
     /**
Please login to merge, or discard this patch.
src/TypeCheck/AbstractTypeCheck.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -82,32 +82,32 @@
 block discarded – undo
82 82
                \gettype($value) === (self::$typeMapping[$type] ?? $type)
83 83
                ||
84 84
                (
85
-                   $type === 'scalar'
85
+                    $type === 'scalar'
86 86
                     &&
87 87
                     \is_scalar($value)
88
-               )
88
+                )
89 89
                ||
90 90
                (
91
-                   $type === 'callable'
91
+                    $type === 'callable'
92 92
                    &&
93 93
                    \is_callable($value)
94
-               )
94
+                )
95 95
                ||
96 96
                (
97
-                   $type === 'numeric'
97
+                    $type === 'numeric'
98 98
                    &&
99 99
                    (
100
-                       \is_float($value)
100
+                        \is_float($value)
101 101
                        ||
102 102
                        \is_int($value)
103
-                   )
104
-               )
103
+                    )
104
+                )
105 105
                ||
106 106
                (
107
-                   $type === 'resource'
107
+                    $type === 'resource'
108 108
                    &&
109 109
                    \is_resource($value)
110
-               );
110
+                );
111 111
     }
112 112
 
113 113
     /**
Please login to merge, or discard this patch.