Completed
Push — master ( 75f269...02e63a )
by Lars
02:19
created
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.
src/Arrayy.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1542,11 +1542,11 @@
 block discarded – undo
1542 1542
             ),
1543 1543
             \COUNT_NORMAL
1544 1544
         )
1545
-               ===
1546
-               \count(
1547
-                   $needles,
1548
-                   \COUNT_NORMAL
1549
-               );
1545
+                ===
1546
+                \count(
1547
+                    $needles,
1548
+                    \COUNT_NORMAL
1549
+                );
1550 1550
     }
1551 1551
 
1552 1552
     /**
Please login to merge, or discard this patch.
src/ArrayyRewindableExtendedGenerator.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -13,17 +13,17 @@
 block discarded – undo
13 13
  */
14 14
 final class ArrayyRewindableExtendedGenerator extends ArrayyRewindableGenerator
15 15
 {
16
-   public function __construct(
17
-       callable $generatorConstructionFunction,
18
-       callable $onRewind = null,
19
-       string $class = ''
20
-   ) {
21
-       parent::__construct(
22
-           $generatorConstructionFunction,
23
-           $onRewind,
24
-           $class
25
-       );
26
-   }
16
+    public function __construct(
17
+        callable $generatorConstructionFunction,
18
+        callable $onRewind = null,
19
+        string $class = ''
20
+    ) {
21
+        parent::__construct(
22
+            $generatorConstructionFunction,
23
+            $onRewind,
24
+            $class
25
+        );
26
+    }
27 27
 
28 28
 
29 29
     /**
Please login to merge, or discard this patch.