Passed
Push — master ( cd2df9...005de6 )
by Aleksei
02:40
created
src/Matching/SimpleMatcherConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 
18 18
         if (array_key_exists($format, $clone->formats)) {
19 19
             # remove format from buckets array
20
-            array_walk($clone->buckets, static function (array &$formats) use ($format) {
20
+            array_walk($clone->buckets, static function(array &$formats) use ($format) {
21 21
                 $formats = array_diff($formats, [$format]);
22 22
             });
23 23
         }
Please login to merge, or discard this patch.
src/Matching/SimpleConverterMatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     }
72 72
     private function getBucketClassFormat(DataBucket $bucket): ?array
73 73
     {
74
-        $className = static function (DataBucket $bucket): Generator {
74
+        $className = static function(DataBucket $bucket): Generator {
75 75
             yield get_class($bucket);
76 76
             yield from class_parents($bucket);
77 77
         };
Please login to merge, or discard this patch.
src/SmartStreamFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $this->converterMatcher = $converterMatcher;
26 26
 
27 27
         $this->addStreamFactory(static fn($data) => $data instanceof \Generator ? new GeneratorStream($data) : null);
28
-        $this->addStreamFactory(function ($data) use ($defaultFactory) {
28
+        $this->addStreamFactory(function($data) use ($defaultFactory) {
29 29
             switch (true) {
30 30
                 case is_string($data):
31 31
                     return $defaultFactory->createStream($data);
Please login to merge, or discard this patch.