Passed
Push — feature/super-model ( 24c950...13c8a0 )
by axel
02:30
created
src/MalScraper/Model/Additional/PictureModel.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,9 @@
 block discarded – undo
52 52
      */
53 53
     public function __call($method, $arguments)
54 54
     {
55
-        if ($this->_error)
56
-            return $this->_error;
55
+        if ($this->_error) {
56
+                    return $this->_error;
57
+        }
57 58
         return call_user_func_array([$this, $method], $arguments);
58 59
     }
59 60
 
Please login to merge, or discard this patch.
src/MalScraper/Model/Additional/StatModel.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,8 +52,9 @@  discard block
 block discarded – undo
52 52
      */
53 53
     public function __call($method, $arguments)
54 54
     {
55
-        if ($this->_error)
56
-            return $this->_error;
55
+        if ($this->_error) {
56
+                    return $this->_error;
57
+        }
57 58
         return call_user_func_array([$this, $method], $arguments);
58 59
     }
59 60
 
@@ -151,8 +152,9 @@  discard block
 block discarded – undo
151 152
         $user_area = $this->_parser->find('.table-recently-updated', 0);
152 153
         if ($user_area) {
153 154
             foreach ($user_area->find('tr') as $each_user) {
154
-                if (!$each_user->find('td', 0)->find('div', 0))
155
-                    continue;
155
+                if (!$each_user->find('td', 0)->find('div', 0)) {
156
+                                    continue;
157
+                }
156 158
 
157 159
                 $temp_user = [];
158 160
 
Please login to merge, or discard this patch.
src/MalScraper/Model/Additional/PeoplePictureModel.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,9 @@
 block discarded – undo
52 52
      */
53 53
     public function __call($method, $arguments)
54 54
     {
55
-        if ($this->_error)
56
-            return $this->_error;
55
+        if ($this->_error) {
56
+                    return $this->_error;
57
+        }
57 58
         return call_user_func_array([$this, $method], $arguments);
58 59
     }
59 60
 
Please login to merge, or discard this patch.