Completed
Push — master ( b3f37b...f500d6 )
by Nikita
03:36
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
@@ -304,6 +304,10 @@
 block discarded – undo
304 304
         return $this->sendRequest('getOrderInfo', ['order_id' => $order_id], true);
305 305
     }
306 306
 
307
+    /**
308
+     * @param string $method
309
+     * @param boolean $sign
310
+     */
307 311
     protected function sendRequest($method, $data, $sign, $sender = null)
308 312
     {
309 313
         if ($sender) {
Please login to merge, or discard this patch.