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