Completed
Push — master ( c237d6...e36866 )
by Lawrence
09:21 queued 01:36
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   +6 added lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@  discard block
 block discarded – undo
74 74
         return $id_product_attribute;
75 75
     }
76 76
 
77
+    /**
78
+     * @param null|string $id_product_attribute
79
+     */
77 80
     private function buildAttributes($id_product_attribute, $row)
78 81
     {
79 82
         $combinations = array();
@@ -117,6 +120,9 @@  discard block
 block discarded – undo
117 120
         return $final_price;
118 121
     }
119 122
 
123
+    /**
124
+     * @param null|string $id_product_attribute
125
+     */
120 126
     private function getCombination($id_product_attribute)
121 127
     {
122 128
         $sql = 'SELECT ag.id_attribute_group, ag.is_color_group, agl.name AS group_name, agl.public_name AS public_group_name,
Please login to merge, or discard this patch.