@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | { |
37 | 37 | $this->config(); |
38 | 38 | |
39 | - if($this->guard=="default"){ |
|
39 | + if ($this->guard=="default") { |
|
40 | 40 | $this->setAuthenticateNeeds(); |
41 | 41 | } |
42 | 42 | } |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | */ |
61 | 61 | public function getAddToWhere() |
62 | 62 | { |
63 | - if(isset($this->config['guard'][$this->guard]['addToWhere'])){ |
|
63 | + if (isset($this->config['guard'][$this->guard]['addToWhere'])) { |
|
64 | 64 | return $this->config['guard'][$this->guard]['addToWhere']; |
65 | 65 | } |
66 | 66 | return null; |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | */ |
74 | 74 | public function getConfigToken() |
75 | 75 | { |
76 | - if(isset($this->config['guard'][$this->guard]['token'])){ |
|
76 | + if (isset($this->config['guard'][$this->guard]['token'])) { |
|
77 | 77 | return $this->config['guard'][$this->guard]['token']; |
78 | 78 | } |
79 | 79 | return null; |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | { |
99 | 99 | $this->getModel(); |
100 | 100 | |
101 | - if($this->model=="Default"){ |
|
101 | + if ($this->model=="Default") { |
|
102 | 102 | |
103 | 103 | return $this->driverDefaultNamespace.'\\'.$this->getDriver().'\\UserBuilder'; |
104 | 104 | } |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | { |
126 | 126 | $this->getModel(); |
127 | 127 | |
128 | - if($this->model=="Default"){ |
|
128 | + if ($this->model=="Default") { |
|
129 | 129 | |
130 | 130 | return $this->driverDefaultNamespace.'\\'.$this->getDriver().'\\User'; |
131 | 131 | } |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | */ |
194 | 194 | public function provider($key) |
195 | 195 | { |
196 | - if(app()->has('authenticate.'.$key) && is_callable($provider = app()->get('authenticate.'.$key))){ |
|
196 | + if (app()->has('authenticate.'.$key) && is_callable($provider = app()->get('authenticate.'.$key))) { |
|
197 | 197 | return $provider; |
198 | 198 | } |
199 | 199 |