Passed
Push — main ( c49a8e...6b0bd5 )
by BRUNO
01:49
created
src/ModelAbstract.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     /**
10 10
      * @param array|null $params
11 11
      */
12
-    public function __construct(array $params = null){
12
+    public function __construct(array $params = null) {
13 13
         if (!empty($params))
14 14
             $this->modelFromMap($params);
15 15
     }
@@ -74,12 +74,12 @@  discard block
 block discarded – undo
74 74
         $re_2 = new ReflectionObject($data);
75 75
         $classname = get_class($this);
76 76
         if ($pos = strrpos($classname, '\\')) $classname = substr($classname, $pos + 1);
77
-        return $classname .' {' . implode(', ', array_map(
77
+        return $classname . ' {' . implode(', ', array_map(
78 78
                 function($p_0) use ($data)
79 79
                 {
80 80
                     $p_0->setAccessible(true);
81
-                    return $p_0->getName() .': '. $p_0->getValue($data);
82
-                }, $re_2->getProperties())) .'}';
81
+                    return $p_0->getName() . ': ' . $p_0->getValue($data);
82
+                }, $re_2->getProperties())) . '}';
83 83
 
84 84
     }
85 85
 }
86 86
\ No newline at end of file
Please login to merge, or discard this patch.