Completed
Pull Request — master (#5)
by Paul
02:00 queued 56s
created
src/Controllers/ApiRequest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@  discard block
 block discarded – undo
70 70
         return json_decode($json, true);
71 71
     }
72 72
 
73
+    /**
74
+     * @param string $relativeUrl
75
+     */
73 76
     protected function performGetRequest($relativeUrl)
74 77
     {
75 78
         $this->response = $this->client->request('GET', $relativeUrl);
@@ -77,6 +80,9 @@  discard block
 block discarded – undo
77 80
         return $this->getResponse();
78 81
     }
79 82
 
83
+    /**
84
+     * @param string $relativeUrl
85
+     */
80 86
     protected function performPostRequest($relativeUrl, $data)
81 87
     {
82 88
         $this->response = $this->client->request('POST', $relativeUrl, ['json'=> $data]);
Please login to merge, or discard this patch.