Completed
Push — master ( 90907b...03932e )
by Stephen
02:37
created
src/Models/Profile.php 1 patch
Braces   +9 added lines, -6 removed lines patch added patch discarded remove patch
@@ -154,8 +154,9 @@  discard block
 block discarded – undo
154 154
      */
155 155
     protected function threads()
156 156
     {
157
-        if ($this->threads === null)
158
-            $this->threads = Accounts::findThreads($this->handle);
157
+        if ($this->threads === null) {
158
+                    $this->threads = Accounts::findThreads($this->handle);
159
+        }
159 160
 
160 161
         return $this->threads;
161 162
     }
@@ -165,8 +166,9 @@  discard block
 block discarded – undo
165 166
      */
166 167
     protected function posts()
167 168
     {
168
-        if ($this->posts === null)
169
-            $this->posts = Accounts::findPosts($this->handle);
169
+        if ($this->posts === null) {
170
+                    $this->posts = Accounts::findPosts($this->handle);
171
+        }
170 172
 
171 173
         return $this->posts;
172 174
     }
@@ -178,8 +180,9 @@  discard block
 block discarded – undo
178 180
      */
179 181
     public function with(...$types) {
180 182
         foreach ($types as $type) {
181
-            if (method_exists($this, strtolower($type)))
182
-                call_user_func([$this, $type]);
183
+            if (method_exists($this, strtolower($type))) {
184
+                            call_user_func([$this, $type]);
185
+            }
183 186
         }
184 187
 
185 188
         return $this;
Please login to merge, or discard this patch.