Completed
Push — master ( 7da885...5669c3 )
by Stephen
02:18
created
src/Models/Profile.php 1 patch
Braces   +9 added lines, -6 removed lines patch added patch discarded remove patch
@@ -156,8 +156,9 @@  discard block
 block discarded – undo
156 156
     {
157 157
         if ($this->threads === null) {
158 158
             $threads = Accounts::findThreads($this->handle);
159
-            if ($threads instanceof Threads)
160
-                $this->threads = $threads;
159
+            if ($threads instanceof Threads) {
160
+                            $this->threads = $threads;
161
+            }
161 162
         }
162 163
 
163 164
 
@@ -172,8 +173,9 @@  discard block
 block discarded – undo
172 173
     {
173 174
         if ($this->posts === null) {
174 175
             $posts = Accounts::findPosts($this->handle);
175
-            if ($posts instanceof Posts)
176
-                $this->posts = $posts;
176
+            if ($posts instanceof Posts) {
177
+                            $this->posts = $posts;
178
+            }
177 179
         }
178 180
 
179 181
         return $this->posts;
@@ -186,8 +188,9 @@  discard block
 block discarded – undo
186 188
      */
187 189
     public function with(...$types) {
188 190
         foreach ($types as $type) {
189
-            if (method_exists($this, strtolower($type)))
190
-                call_user_func([$this, $type]);
191
+            if (method_exists($this, strtolower($type))) {
192
+                            call_user_func([$this, $type]);
193
+            }
191 194
         }
192 195
 
193 196
         return $this;
Please login to merge, or discard this patch.