Completed
Push — master ( 9932d1...54396d )
by Danila
06:32
created
app/code/local/Mygento/Yandexdelivery/Helper/Data.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -55,6 +55,11 @@  discard block
 block discarded – undo
55 55
         return $result;
56 56
     }
57 57
 
58
+    /**
59
+     * @param string $path
60
+     *
61
+     * @return double
62
+     */
58 63
     public function getConfigData($path)
59 64
     {
60 65
         return Mage::getStoreConfig('carriers/' . $this->_name . '/' . $path);
@@ -222,6 +227,9 @@  discard block
 block discarded – undo
222 227
         ];
223 228
     }
224 229
 
230
+    /**
231
+     * @param string $param
232
+     */
225 233
     private function getAttributeValue($param, $product)
226 234
     {
227 235
         $attribute = $this->getConfigData('item' . $param);
Please login to merge, or discard this patch.
app/code/local/Mygento/Yandexdelivery/Model/Carrier.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -285,6 +285,10 @@
 block discarded – undo
285 285
         return $this->sendRequest('getOrderInfo', ['order_id' => $order_id], true);
286 286
     }
287 287
 
288
+    /**
289
+     * @param string $method
290
+     * @param boolean $sign
291
+     */
288 292
     protected function sendRequest($method, $data, $sign, $sender = null) {
289 293
         if ($sender) {
290 294
             $data['sender_id'] = $sender;
Please login to merge, or discard this patch.