Completed
Pull Request — master (#22)
by Ryan
02:22
created
src/LaravelPhoneServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     public function register()
32 32
     {
33 33
         // Make libphonenumber available in the application container.
34
-        $this->app->singleton('libphonenumber', function ($app) {
34
+        $this->app->singleton('libphonenumber', function($app) {
35 35
             return PhoneNumberUtil::getInstance();
36 36
         });
37 37
     }
Please login to merge, or discard this patch.
src/PhoneValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
     protected function parseTypes(array $types)
169 169
     {
170 170
         // Transform types to their namespaced class constant.
171
-        array_walk($types, function (&$type) {
171
+        array_walk($types, function(&$type) {
172 172
             $type = constant($this->constructPhoneTypeConstant($type));
173 173
         });
174 174
 
Please login to merge, or discard this patch.