Passed
Push — feature/super-model ( 0f230d...88c1f6 )
by axel
02:19
created
src/MalScraper/Model/User/UserModel.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
      *
16 16
      * @var string
17 17
      */
18
-	private $_user;
18
+    private $_user;
19 19
 
20 20
     /**
21 21
      * Default constructor.
@@ -25,11 +25,11 @@  discard block
 block discarded – undo
25 25
      *
26 26
      * @return void
27 27
      */
28
-	public function __construct($user, $parserArea = '#content')
28
+    public function __construct($user, $parserArea = '#content')
29 29
     {
30
-    	$this->_user = $user;
30
+        $this->_user = $user;
31 31
         $this->_url = $this->_myAnimeListUrl.'/profile/'.$user;
32
-    	$this->_parserArea = $parserArea;
32
+        $this->_parserArea = $parserArea;
33 33
 
34 34
         parent::errorCheck($this);
35 35
     }
Please login to merge, or discard this 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.