Completed
Push — master ( 36049f...762e93 )
by Dmitry
04:49
created
src/Entities/Entity.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -74,13 +74,13 @@
 block discarded – undo
74 74
 
75 75
     public function __call($name, $params)
76 76
     {
77
-        if(strlen($name) > 3) {
77
+        if (strlen($name) > 3) {
78 78
             $property = substr($name, 3);
79 79
             $property[0] = strtolower($property[0]);
80
-            if(strpos($name, 'get') === 0) {
80
+            if (strpos($name, 'get') === 0) {
81 81
                 return $this->__get($property);
82 82
             }
83
-            if(strpos($name, 'set') === 0) {
83
+            if (strpos($name, 'set') === 0) {
84 84
                 return $this->__set($property, $params[0]);
85 85
             }
86 86
         }
Please login to merge, or discard this patch.