Passed
Push — master ( 124ad0...647f12 )
by Misha
54s queued 11s
created
src/CommunibaseIdCollection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     private function __construct(array $strings)
24 24
     {
25 25
         $this->ids = \array_map(
26
-            static function (string $string) {
26
+            static function(string $string) {
27 27
                 return CommunibaseId::fromString($string);
28 28
             },
29 29
             \array_unique(\array_filter($strings))
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         $collection = new self([]);
47 47
         $collection->ids = \array_reduce(
48 48
             $strings,
49
-            static function (array $communibaseIds, $string) {
49
+            static function(array $communibaseIds, $string) {
50 50
                 try {
51 51
                     $communibaseIds[] = CommunibaseId::fromString((string)$string);
52 52
                 } catch (InvalidIdException $e) {
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     {
100 100
         return array_reduce(
101 101
             $this->ids,
102
-            static function (array $carry, CommunibaseId $id) {
102
+            static function(array $carry, CommunibaseId $id) {
103 103
                 $carry[] = ['$ObjectId' => $id->toString()];
104 104
                 return $carry;
105 105
             },
Please login to merge, or discard this patch.