Completed
Pull Request — master (#24)
by Lars
12:05
created
src/Intraface/XMLRPC/Contact/Server.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -263,7 +263,7 @@
 block discarded – undo
263 263
      * Checking credentials
264 264
      *
265 265
      * @param struct $credentials
266
-     * @return array
266
+     * @return boolean
267 267
      */
268 268
     protected function checkCredentials($credentials)
269 269
     {
Please login to merge, or discard this patch.
src/Intraface/XMLRPC/Server0100.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      *
53 53
      * @param struct $credentials Credentials to use the server
54 54
      *
55
-     * @return array
55
+     * @return boolean
56 56
      */
57 57
     protected function checkCredentials($credentials)
58 58
     {
Please login to merge, or discard this patch.
src/Intraface/XMLRPC/Shop/Server2.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -399,7 +399,6 @@  discard block
 block discarded – undo
399 399
      *
400 400
      * @param struct  $credentials Credentials to use the server
401 401
      * @param integer $shop_id    Id for the shop
402
-     * @param integer $id          Product id
403 402
      *
404 403
      * @return array
405 404
      */
@@ -578,7 +577,7 @@  discard block
 block discarded – undo
578 577
      *
579 578
      * @param struct  $credentials       Credentials to use the server
580 579
      * @param integer $shop_id    Id for the shop
581
-     * @param integer $produt_id         Product id to add
580
+     * @param integer $product_id         Product id to add
582 581
      * @param integer $product_variation_id Product variation id to change
583 582
      * @param integer $quantity          Optional quantity
584 583
      * @param string  $text              Extra text to the itemline
@@ -621,7 +620,7 @@  discard block
 block discarded – undo
621 620
      * @param string  $text              Extra text to the itemline
622 621
      * @param integer $product_detail_id Product detail id
623 622
      *
624
-     * @return mixed
623
+     * @return boolean
625 624
      */
626 625
     public function changeProductInBasket($credentials, $shop_id, $product_id, $product_variation_id, $quantity, $text = '', $product_detail_id = 0)
627 626
     {
@@ -1077,6 +1076,7 @@  discard block
 block discarded – undo
1077 1076
     /**
1078 1077
      * Initialize the webshop
1079 1078
      *
1079
+     * @param integer $shop_id
1080 1080
      * @return void
1081 1081
      */
1082 1082
     private function _factoryWebshop($shop_id)
Please login to merge, or discard this patch.
tests/unit/Shop/ShopGatewayTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
18 18
         $result = $this->db->query('TRUNCATE shop');
19 19
     }
20 20
 
21
+    /**
22
+     * @return integer
23
+     */
21 24
     private function createShop($values = array())
22 25
     {
23 26
         $shop = new Intraface_modules_shop_Shop();
Please login to merge, or discard this patch.