Completed
Push — master ( fa9749...a1dfeb )
by Lawrence
05:08 queued 02:33
created
src/Prestashop.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         foreach ($this->clients as $client) {
40 40
             if ($from == $client) {
41 41
                 $type = strtolower(substr($msg, 0, strpos($msg, '|')));
42
-                $data = substr($msg, strpos($msg,'|') + 1);
42
+                $data = substr($msg, strpos($msg, '|') + 1);
43 43
                 switch ($type) {
44 44
                     case 'cart': $result = getCartData($data);
45 45
                                     break;
Please login to merge, or discard this patch.
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -248,6 +248,7 @@  discard block
 block discarded – undo
248 248
 
249 249
     /**
250 250
      * @param string $now
251
+     * @param null|string $id_product_attribute
251 252
      */
252 253
     private function getSpecificPriceData($id_product_attribute, $id_product, $now)
253 254
     {
@@ -267,6 +268,9 @@  discard block
 block discarded – undo
267 268
         return $result;
268 269
     }
269 270
 
271
+    /**
272
+     * @param null|string $id_product_attribute
273
+     */
270 274
     private function getNumberSpecificPrice($id_product_attribute, $id_product)
271 275
     {
272 276
         $sql = 'SELECT COUNT(*) FROM '._DB_PREFIX_.'specific_price WHERE id_product = '.(int) $id_product.' AND id_product_attribute = 0';
Please login to merge, or discard this patch.