Completed
Push — master ( d1404e...b9be27 )
by Jonathan André
08:02
created
src/Lumen/Http/Controllers/BaseController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
         return $this->mainService;
18 18
     }
19 19
 
20
+    /**
21
+     * @param Request $filters
22
+     */
20 23
     protected function translateFilters($filters)
21 24
     {
22 25
         if ($filters instanceof Request) {
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.