Completed
Push — master ( 7fdc1b...d00c2b )
by Nicolaas
01:46
created
code/AddingModuleProduct.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@  discard block
 block discarded – undo
38 38
 
39 39
 class AddingModuleProduct_Form extends Form
40 40
 {
41
+    /**
42
+     * @param string $name
43
+     */
41 44
     public function __construct($controller, $name, $moduleProductID = 0)
42 45
     {
43 46
         $fields = new FieldList();
@@ -174,6 +177,9 @@  discard block
 block discarded – undo
174 177
     }
175 178
 
176 179
 
180
+    /**
181
+     * @param integer[] $authorsIDArray
182
+     */
177 183
     protected function ManyManyComplexTableFieldAuthorsField($controller, $authorsIDArray)
178 184
     {
179 185
         $detailFields = new FieldList();
@@ -219,6 +225,10 @@  discard block
 block discarded – undo
219 225
 {
220 226
     protected $currentID = 0;
221 227
 
228
+    /**
229
+     * @param integer $currentID
230
+     * @param string[] $array
231
+     */
222 232
     public function __construct($currentID, $array)
223 233
     {
224 234
         $this->currentID = $currentID;
Please login to merge, or discard this patch.
code/model/ModuleProductEmail.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -69,6 +69,10 @@  discard block
 block discarded – undo
69 69
 
70 70
 class ModuleProductEmail_Form extends Form
71 71
 {
72
+    /**
73
+     * @param ModuleProduct_Controller $controller
74
+     * @param string $name
75
+     */
72 76
     public function __construct($controller, $name, $moduleProduct)
73 77
     {
74 78
         $defaults = $moduleProduct->EmailDefaults();
@@ -114,6 +118,9 @@  discard block
 block discarded – undo
114 118
 
115 119
 class ModuleProductEmail_RequiredFields extends RequiredFields
116 120
 {
121
+    /**
122
+     * @param string[] $array
123
+     */
117 124
     public function __construct($array)
118 125
     {
119 126
         parent::__construct($array);
Please login to merge, or discard this patch.
code/ModuleProduct.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
 
188 188
     /**
189 189
      * Return the ModuleProductEmail
190
-     * @return Object (ModuleProductEmail)
190
+     * @return DataObject|null (ModuleProductEmail)
191 191
      *
192 192
      */
193 193
     public function EmailObject()
@@ -224,6 +224,9 @@  discard block
 block discarded – undo
224 224
         );
225 225
     }
226 226
 
227
+    /**
228
+     * @param string $screenName
229
+     */
227 230
     protected function createBodyAppendix($screenName)
228 231
     {
229 232
         $pageLink = Director::absoluteURL($this->Link());
Please login to merge, or discard this patch.
code/ModuleProductGroup.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,6 @@
 block discarded – undo
55 55
      * The return from this method will then be sorted and filtered to product the final product list
56 56
      *
57 57
      * @param string $extraFilter Additional SQL filters to apply to the Product retrieval
58
-     * @param boolean $recursive
59 58
      * @return DataObjectSet | Null
60 59
      **/
61 60
     public function currentInitialProducts($extraFilter = null, $alternativeFilterKey = '')
Please login to merge, or discard this patch.