@@ -147,8 +147,9 @@ discard block |
||
147 | 147 | */ |
148 | 148 | protected function threads() |
149 | 149 | { |
150 | - if ($this->threads === null) |
|
151 | - $this->threads = Accounts::findThreads($this->handle); |
|
150 | + if ($this->threads === null) { |
|
151 | + $this->threads = Accounts::findThreads($this->handle); |
|
152 | + } |
|
152 | 153 | |
153 | 154 | return $this->threads; |
154 | 155 | } |
@@ -158,8 +159,9 @@ discard block |
||
158 | 159 | */ |
159 | 160 | protected function posts() |
160 | 161 | { |
161 | - if ($this->posts === null) |
|
162 | - $this->posts = Accounts::findPosts($this->handle); |
|
162 | + if ($this->posts === null) { |
|
163 | + $this->posts = Accounts::findPosts($this->handle); |
|
164 | + } |
|
163 | 165 | |
164 | 166 | return $this->posts; |
165 | 167 | } |
@@ -171,8 +173,9 @@ discard block |
||
171 | 173 | */ |
172 | 174 | public function with(...$types) { |
173 | 175 | foreach ($types as $type) { |
174 | - if (method_exists($this, strtolower($type))) |
|
175 | - call_user_method($type, $this); |
|
176 | + if (method_exists($this, strtolower($type))) { |
|
177 | + call_user_method($type, $this); |
|
178 | + } |
|
176 | 179 | } |
177 | 180 | |
178 | 181 | return $this; |