@@ -67,7 +67,7 @@ |
||
| 67 | 67 | */ |
| 68 | 68 | public static function toObjectQueryArray(array $ids) |
| 69 | 69 | { |
| 70 | - return array_reduce($ids, static function (array $carry, CommunibaseId $id) { |
|
| 70 | + return array_reduce($ids, static function(array $carry, CommunibaseId $id) { |
|
| 71 | 71 | $carry[] = ['$ObjectId' => $id->toString()]; |
| 72 | 72 | return $carry; |
| 73 | 73 | }, []); |
@@ -103,12 +103,12 @@ |
||
| 103 | 103 | $areaCode = \ltrim($areaCode, '0'); |
| 104 | 104 | } |
| 105 | 105 | if (strpos($areaCode, '0') !== 0 && (empty($countryCode) || \strpos($format, 'c') === false)) { |
| 106 | - $areaCode = '0' .$areaCode; |
|
| 106 | + $areaCode = '0' . $areaCode; |
|
| 107 | 107 | } |
| 108 | 108 | return trim( |
| 109 | 109 | (string)\preg_replace_callback( |
| 110 | 110 | '![cas]!', |
| 111 | - static function (array $matches) use ($countryCode, $areaCode, $subscriberNumber) { |
|
| 111 | + static function(array $matches) use ($countryCode, $areaCode, $subscriberNumber) { |
|
| 112 | 112 | switch ($matches[0]) { |
| 113 | 113 | case 'c': |
| 114 | 114 | return $countryCode; |