Completed
Push — Propaganistas-patch-1 ( 99049e )
by Propa
02:04
created
src/Rules/Phone.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,6 @@
 block discarded – undo
1 1
 <?php namespace Propaganistas\LaravelPhone\Rules;
2 2
 
3 3
 use libphonenumber\PhoneNumberType;
4
-use Propaganistas\LaravelPhone\Traits\ParsesCountries;
5
-use Propaganistas\LaravelPhone\Traits\ParsesTypes;
6 4
 
7 5
 class Phone
8 6
 {
Please login to merge, or discard this 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.