Passed
Push — master ( 2ab196...591f87 )
by david
02:29
created
src/Graphcomment.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -259,7 +259,7 @@
 block discarded – undo
259 259
     public function getThread($url)
260 260
     {
261 261
         $client = new Client();
262
-        $res = $client->request('GET', $this->getDir() . '/website/'.$this->getWebsiteId().'/Threadload',
262
+        $res = $client->request('GET', $this->getDir() . '/website/' . $this->getWebsiteId() . '/Threadload',
263 263
             [
264 264
                 'headers' => [
265 265
                     'Authorization' => 'JWT ' . $this->getToken()
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -217,8 +217,7 @@
 block discarded – undo
217 217
 
218 218
         if ($res->getStatusCode() == "200") {
219 219
             echo $res->getBody();
220
-        }
221
-        else {
220
+        } else {
222 221
             echo $res->getBody();
223 222
         }
224 223
     }
Please login to merge, or discard this patch.