Completed
Push — master ( d10f34...5e55b4 )
by Andrew
02:26
created
src/Importer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@
 block discarded – undo
30 30
         return $data['id'];
31 31
     }
32 32
 
33
+    /**
34
+     * @param string $z
35
+     */
33 36
     private function getNodes($z, $flowJson)
34 37
     {
35 38
         $rawNodes = json_decode($flowJson, true);
Please login to merge, or discard this patch.
src/Instance.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -24,16 +24,26 @@
 block discarded – undo
24 24
         return $this->makeRequest('GET', $path, [], null);
25 25
     }
26 26
 
27
+    /**
28
+     * @param string $path
29
+     */
27 30
     public function formPost($path, $data, $token = null)
28 31
     {
29 32
         return $this->makeRequest('POST', $path, ['form_params' => $data], $token);
30 33
     }
31 34
 
35
+    /**
36
+     * @param string $path
37
+     * @param OAuthToken $token
38
+     */
32 39
     public function jsonPost($path, $data, $token = null)
33 40
     {
34 41
         return $this->makeRequest('POST', $path, ['json' => $data], $token);
35 42
     }
36 43
 
44
+    /**
45
+     * @param string $method
46
+     */
37 47
     private function makeRequest($method, $path, $extraOptions = [], $token = null)
38 48
     {
39 49
         $options = [
Please login to merge, or discard this patch.