Completed
Push — github-actions ( a63ceb )
by Propa
01:10
created
src/PhoneNumber.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      */
173 173
     public function formatForCountry($country)
174 174
     {
175
-        if (! static::isValidCountryCode($country)) {
175
+        if (!static::isValidCountryCode($country)) {
176 176
             throw CountryCodeException::invalid($country);
177 177
         }
178 178
 
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
      */
193 193
     public function formatForMobileDialingInCountry($country, $removeFormatting = false)
194 194
     {
195
-        if (! static::isValidCountryCode($country)) {
195
+        if (!static::isValidCountryCode($country)) {
196 196
             throw CountryCodeException::invalid($country);
197 197
         }
198 198
 
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
      */
211 211
     public function getCountry()
212 212
     {
213
-        if (! $this->country) {
213
+        if (!$this->country) {
214 214
             $this->country = $this->filterValidCountry($this->countries);
215 215
         }
216 216
 
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
     protected function filterValidCountry($countries)
241 241
     {
242 242
         $result = Collection::make($countries)
243
-            ->filter(function ($country) {
243
+            ->filter(function($country) {
244 244
                 try {
245 245
                     $instance = $this->lib->parse($this->number, $country);
246 246
 
Please login to merge, or discard this patch.