Completed
Branch master (3b2ee6)
by AJ
05:37
created
src/Controller/Component/ShopifyAPIComponent.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -66,6 +66,10 @@  discard block
 block discarded – undo
66 66
         return $this->callLimit() - $this->callsMade();
67 67
     }
68 68
 
69
+    /**
70
+     * @param string $method
71
+     * @param string $path
72
+     */
69 73
     public function call($method, $path, $params=array()) {
70 74
         
71 75
         if (!$this->_isReady()) {
@@ -94,6 +98,9 @@  discard block
 block discarded – undo
94 98
         
95 99
     }
96 100
     
101
+    /**
102
+     * @param integer $index
103
+     */
97 104
     private function shopApiCallLimitParam($index) {
98 105
         $params = explode("/",$this->response->getHeaderLine('http_x_shopify_shop_api_call_limit'));
99 106
         return (int) $params[$index];
@@ -179,6 +186,9 @@  discard block
 block discarded – undo
179 186
     
180 187
       }
181 188
 
189
+    /**
190
+     * @param string $url
191
+     */
182 192
     private function _urlEncode($url) {
183 193
     
184 194
         $url = str_replace('&', '%26', $url);
Please login to merge, or discard this patch.