Completed
Branch master (0ae278)
by Paul
07:49
created
src/PRequest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@  discard block
 block discarded – undo
39 39
         return json_decode($json, true);
40 40
     }
41 41
 
42
+    /**
43
+     * @param string $relativeUrl
44
+     */
42 45
     protected function performGetRequest($relativeUrl)
43 46
     {
44 47
         $this->response = $this->client->request('GET', $relativeUrl);
@@ -46,6 +49,9 @@  discard block
 block discarded – undo
46 49
         return $this->getResponse();
47 50
     }
48 51
 
52
+    /**
53
+     * @param string $relativeUrl
54
+     */
49 55
     protected function performPostRequest($relativeUrl)
50 56
     {
51 57
         $this->response = $this->client->request('POST', $relativeUrl, ['json'=> $this->data]);
Please login to merge, or discard this patch.