Completed
Push — master ( d208aa...25518b )
by Lars
12:37
created
src/Intraface/modules/shop/Shop.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -27,6 +27,9 @@
 block discarded – undo
27 27
         $this->actAs('Intraface_Doctrine_Template_Intranet');
28 28
     }
29 29
 
30
+    /**
31
+     * @return string
32
+     */
30 33
     function getId()
31 34
     {
32 35
         return $this->id;
Please login to merge, or discard this patch.
src/Intraface/modules/stock/Stock.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
     public $value;
10 10
     private $kernel;
11 11
 
12
+    /**
13
+     * @param Intraface_modules_product_Variation $variation
14
+     */
12 15
     function __construct($product, $variation = null)
13 16
     {
14 17
         $this->product = $product;
Please login to merge, or discard this patch.
src/Intraface/Shared.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -60,6 +60,9 @@  discard block
 block discarded – undo
60 60
         return $this->controlpanel_files;
61 61
     }
62 62
 
63
+    /**
64
+     * @param string $file
65
+     */
63 66
     function addPreloadFile($file)
64 67
     {
65 68
         $this->preload_file[] = $file;
@@ -82,6 +85,7 @@  discard block
 block discarded – undo
82 85
 
83 86
     /**
84 87
      * @todo why is this not using getPath()
88
+     * @param string $file
85 89
      */
86 90
     function includeSettingFile($file)
87 91
     {
Please login to merge, or discard this patch.
src/Intraface/XMLRPC/CMS/Server.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@
 block discarded – undo
12 12
     private $credentials;
13 13
     private $kernel;
14 14
 
15
+    /**
16
+     * @param integer $site_id
17
+     */
15 18
     private function factory($site_id)
16 19
     {
17 20
         if (!$this->kernel->weblogin->hasModuleAccess('cms')) { // -2
Please login to merge, or discard this patch.
src/Intraface/XMLRPC/CMS/Server0300.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
  */
10 10
 class Intraface_XMLRPC_CMS_Server0300 extends Intraface_XMLRPC_Server
11 11
 {
12
+    /**
13
+     * @param integer $site_id
14
+     */
12 15
     private function factory($site_id)
13 16
     {
14 17
         if (!$this->kernel->weblogin->hasModuleAccess('cms')) { // -2
Please login to merge, or discard this patch.
src/Intraface/XMLRPC/CMS/Server0400.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
  */
10 10
 class Intraface_XMLRPC_CMS_Server0400 extends Intraface_XMLRPC_Server0100
11 11
 {
12
+    /**
13
+     * @param integer $site_id
14
+     */
12 15
     private function factory($site_id)
13 16
     {
14 17
         if (!$this->kernel->weblogin->hasModuleAccess('cms')) { // -2
Please login to merge, or discard this patch.
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.