Completed
Push — Propaganistas-patch-1 ( 99049e...26d197 )
by Propa
21:33 queued 26s
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.
src/Rules/Phone.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,11 +142,11 @@
 block discarded – undo
142 142
         $parameters = implode(',', array_merge(
143 143
             $this->countries,
144 144
             $this->parseTypes($this->types),
145
-            ($this->countryField ? [$this->countryField]: []),
145
+            ($this->countryField ? [$this->countryField] : []),
146 146
             ($this->detect ? ['AUTO'] : []),
147 147
             ($this->lenient ? ['LENIENT'] : [])
148 148
         ));
149 149
 
150
-        return 'phone' . (! empty($parameters) ? ":$parameters" : '');
150
+        return 'phone'.(!empty($parameters) ? ":$parameters" : '');
151 151
     }
152 152
 }
Please login to merge, or discard this patch.