Completed
Pull Request — master (#24)
by Lars
12:05
created
src/Intraface/modules/onlinepayment/provider/Default.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@
 block discarded – undo
8 8
 
9 9
 class OnlinePaymentDefault extends OnlinePayment
10 10
 {
11
+    /**
12
+     * @param integer $id
13
+     */
11 14
     function __construct($kernel, $id)
12 15
     {
13 16
 
Please login to merge, or discard this patch.
src/Intraface/modules/product/Attribute/Group/Gateway.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      * @todo $doctrine should not be optional
22 22
      *
23 23
      * @param object $doctrine Doctrine_Connection
24
-     * @return void
24
+     * @return integer
25 25
      */
26 26
     public function __construct($doctrine = null)
27 27
     {
Please login to merge, or discard this patch.
src/Intraface/modules/product/Variation/Gateway.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -64,6 +64,7 @@
 block discarded – undo
64 64
     /**
65 65
      * Find a variation from id
66 66
      *
67
+     * @param integer $id
67 68
      * @return object Intraface_modules_product_Variation_OneAttributeGroup or Intraface_modules_product_Variation_TwoAttributeGroups
68 69
      */
69 70
     public function findById($id)
Please login to merge, or discard this patch.
src/Intraface/modules/shop/DiscountCampaignGateway.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -42,6 +42,7 @@
 block discarded – undo
42 42
     /**
43 43
      * Finds record from id
44 44
      *
45
+     * @param integer $id
45 46
      * @return Intraface_modules_shop_DiscountCampaign
46 47
      */
47 48
     public function findById($id)
Please login to merge, or discard this patch.
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.