@@ -101,7 +101,7 @@ |
||
| 101 | 101 | return trim( |
| 102 | 102 | (string)\preg_replace_callback( |
| 103 | 103 | '![cas]!', |
| 104 | - static function (array $matches) use ($countryCode, $areaCode, $subscriberNumber) { |
|
| 104 | + static function(array $matches) use ($countryCode, $areaCode, $subscriberNumber) { |
|
| 105 | 105 | switch ($matches[0]) { |
| 106 | 106 | case 'c': |
| 107 | 107 | return $countryCode; |
@@ -23,7 +23,7 @@ discard block |
||
| 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_filter(\array_unique($strings)) |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | { |
| 79 | 79 | return array_reduce( |
| 80 | 80 | $this->ids, |
| 81 | - static function (array $carry, CommunibaseId $id) { |
|
| 81 | + static function(array $carry, CommunibaseId $id) { |
|
| 82 | 82 | $carry[] = ['$ObjectId' => $id->toString()]; |
| 83 | 83 | return $carry; |
| 84 | 84 | }, |