Completed
Push — master ( 139f3a...cf7c7b )
by Rai
02:47
created
src/Lumen/Authentication/JWT/Providers/JWTServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
         $this->app->bind('Bludata\Lumen\Authentication\JWT\Interfaces\JWTInterface', 'Bludata\Lumen\Authentication\JWT\Libs\JWT');
14 14
 
15 15
         $this->app['auth']->viaRequest(
16
-            'api', function ($request) {
16
+            'api', function($request) {
17 17
                 if ($token = $request->header('authorization')) {
18 18
                     $auth = app('Bludata\Lumen\Authentication\JWT\Interfaces\AuthRepositoryInterface');
19 19
 
Please login to merge, or discard this patch.
src/Lumen/Providers/CustomConnectionSqlanywhereServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
     public function boot()
14 14
     {
15
-        app('LaravelDoctrine\ORM\Configuration\Connections\ConnectionManager')->extend('sqlanywhere', function () {
15
+        app('LaravelDoctrine\ORM\Configuration\Connections\ConnectionManager')->extend('sqlanywhere', function() {
16 16
             return config('database.connections.sqlanywhere');
17 17
         });
18 18
     }
Please login to merge, or discard this patch.
src/Common/Traits/AttributesTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
         return array_combine(
19 19
             $attributes,
20 20
             array_map(
21
-                function ($attr) {
21
+                function($attr) {
22 22
                     $getMethod = $this->getMethod($attr);
23 23
                     if (method_exists($this, $getMethod)) {
24 24
                         return $this->$getMethod();
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 
106 106
     public function toArray()
107 107
     {
108
-        return array_map(function ($attr) {
108
+        return array_map(function($attr) {
109 109
             if (method_exists($attr, 'toArray')) {
110 110
                 return $attr->toArray();
111 111
             }
Please login to merge, or discard this patch.
src/Doctrine/ORM/Entities/BaseEntity.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -231,8 +231,7 @@  discard block
 block discarded – undo
231 231
                             }
232 232
                             $array[$key] = $this->$key->format($dateFormat);
233 233
                         }
234
-                    }
235
-                    elseif ($this->$key instanceof ArrayCollection || $this->$key instanceof PersistentCollection)
234
+                    } elseif ($this->$key instanceof ArrayCollection || $this->$key instanceof PersistentCollection)
236 235
                     {
237 236
                         $ids = [];
238 237
                         foreach ($this->$key->getValues() as $item)
@@ -240,19 +239,16 @@  discard block
 block discarded – undo
240 239
                             $ids[] = $item->getId();
241 240
                         }
242 241
                         $array[$key] = $ids;
243
-                    }
244
-                    else
242
+                    } else
245 243
                     {
246 244
                         $array[$key] = $this->$key->getId();
247 245
                     }
248
-                }
249
-                else
246
+                } else
250 247
                 {
251 248
                     if ($metaDataKey['type'] == 'decimal')
252 249
                     {
253 250
                         $array[$key] = (float) $this->$key;
254
-                    }
255
-                    else
251
+                    } else
256 252
                     {
257 253
                         $array[$key] = $this->$key;
258 254
                     }
Please login to merge, or discard this patch.