Test Setup Failed
Push — master ( e03c0b...cf850e )
by Salah
01:43
created
src/Base/Model.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,9 +40,9 @@
 block discarded – undo
40 40
      */
41 41
     public function getData(): array
42 42
     {
43
-        return collect(\get_object_vars($this))->filter(function ($value, $name) {
43
+        return collect(\get_object_vars($this))->filter(function($value, $name) {
44 44
             return \in_array($name, $this->getFields()) && !empty($value);
45
-        })->map(function ($value, $name) {
45
+        })->map(function($value, $name) {
46 46
             $methodName = $this->getCamelMethodName($name);
47 47
 
48 48
             return \method_exists($this, $methodName) ? $this->$methodName() : $value;
Please login to merge, or discard this patch.