Completed
Push — master ( 4b1df4...c9cf86 )
by Propa
10:37
created
src/PhoneNumber.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
      */
171 171
     public function formatForCountry($country)
172 172
     {
173
-        if (! static::isValidCountryCode($country)) {
173
+        if (!static::isValidCountryCode($country)) {
174 174
             throw CountryCodeException::invalid($country);
175 175
         }
176 176
 
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
      */
191 191
     public function formatForMobileDialingInCountry($country, $removeFormatting = false)
192 192
     {
193
-        if (! static::isValidCountryCode($country)) {
193
+        if (!static::isValidCountryCode($country)) {
194 194
             throw CountryCodeException::invalid($country);
195 195
         }
196 196
 
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
      */
209 209
     public function getCountry()
210 210
     {
211
-        if (! $this->country) {
211
+        if (!$this->country) {
212 212
             $this->country = $this->filterValidCountry($this->countries);
213 213
         }
214 214
 
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
     protected function filterValidCountry($countries)
239 239
     {
240 240
         $result = Collection::make($countries)
241
-                            ->filter(function ($country) {
241
+                            ->filter(function($country) {
242 242
                                 try {
243 243
                                     $instance = $this->lib->parse($this->number, $country);
244 244
 
Please login to merge, or discard this patch.