Passed
Push — master ( 647f12...4539c3 )
by Misha
02:52 queued 10s
created
src/Entity/PhoneNumber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
         return trim(
99 99
             (string)preg_replace_callback(
100 100
                 '![cas]!',
101
-                static function (array $matches) use ($countryCode, $areaCode, $subscriberNumber) {
101
+                static function(array $matches) use ($countryCode, $areaCode, $subscriberNumber) {
102 102
                     switch ($matches[0]) {
103 103
                         case 'c':
104 104
                             return $countryCode;
Please login to merge, or discard this patch.
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))
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         $collection = new self([]);
48 48
         $collection->ids = array_reduce(
49 49
             $strings,
50
-            static function (array $communibaseIds, $string) {
50
+            static function(array $communibaseIds, $string) {
51 51
                 try {
52 52
                     $communibaseIds[] = CommunibaseId::fromString((string)$string);
53 53
                 } catch (InvalidIdException $e) {
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     {
101 101
         return array_reduce(
102 102
             $this->ids,
103
-            static function (array $carry, CommunibaseId $id) {
103
+            static function(array $carry, CommunibaseId $id) {
104 104
                 $carry[] = ['$ObjectId' => $id->toString()];
105 105
                 return $carry;
106 106
             },
Please login to merge, or discard this patch.