Completed
Push — master ( 8971e9...2784a4 )
by
unknown
12:30
created
src/SpeckCatalog/Controller/CatalogManagerController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -141,6 +141,9 @@
 block discarded – undo
141 141
         return $this->getResponse()->setContent($html);
142 142
     }
143 143
 
144
+    /**
145
+     * @param string $helperName
146
+     */
144 147
     public function getViewHelper($helperName)
145 148
     {
146 149
         return $this->getServiceLocator()->get('viewhelpermanager')->get($helperName);
Please login to merge, or discard this patch.
src/SpeckCatalog/Controller/ProductController.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
18 18
         'product_image' => 'speckcatalog_product_image_service',
19 19
     );
20 20
 
21
+    /**
22
+     * @param string $name
23
+     */
21 24
     public function getService($name)
22 25
     {
23 26
         if (!array_key_exists($name, $this->services)) {
@@ -59,6 +62,9 @@  discard block
 block discarded – undo
59 62
         return new ViewModel(array('images' => $images));
60 63
     }
61 64
 
65
+    /**
66
+     * @param string $helperName
67
+     */
62 68
     public function getViewHelper($helperName)
63 69
     {
64 70
         return $this->getServiceLocator()->get('viewhelpermanager')->get($helperName);
Please login to merge, or discard this patch.
src/SpeckCatalog/Form/View/Helper/CatalogManagerFormRow.php 2 patches
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -175,8 +175,8 @@  discard block
 block discarded – undo
175 175
     /**
176 176
      * Set the label position
177 177
      *
178
-     * @param $labelPosition
179
-     * @return FormRow
178
+     * @param string $labelPosition
179
+     * @return CatalogManagerFormRow
180 180
      * @throws \Zend\Form\Exception\InvalidArgumentException
181 181
      */
182 182
     public function setLabelPosition($labelPosition)
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
      * Are the errors rendered by this helper ?
211 211
      *
212 212
      * @param  bool $renderErrors
213
-     * @return FormRow
213
+     * @return CatalogManagerFormRow
214 214
      */
215 215
     public function setRenderErrors($renderErrors)
216 216
     {
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
      * Set the attributes for the row label
231 231
      *
232 232
      * @param  array $labelAttributes
233
-     * @return FormRow
233
+     * @return CatalogManagerFormRow
234 234
      */
235 235
     public function setLabelAttributes($labelAttributes)
236 236
     {
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
      * Set the class that is added to element that have errors
253 253
      *
254 254
      * @param  string $inputErrorClass
255
-     * @return FormRow
255
+     * @return CatalogManagerFormRow
256 256
      */
257 257
     public function setInputErrorClass($inputErrorClass)
258 258
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
             }
139 139
         } else {
140 140
             if ($this->renderErrors) {
141
-                $markup = $elementString;  //. $elementErrors;
141
+                $markup = $elementString; //. $elementErrors;
142 142
             } else {
143 143
                 $markup = $elementString;
144 144
             }
Please login to merge, or discard this patch.
src/SpeckCatalog/Mapper/Choice.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -27,6 +27,9 @@
 block discarded – undo
27 27
         return $this->selectManyModels($select);
28 28
     }
29 29
 
30
+    /**
31
+     * @param string $tableName
32
+     */
30 33
     public function insert($choice, $tableName = null, HydratorInterface $hydrator = null)
31 34
     {
32 35
         $choiceId = parent::insert($choice, $tableName, $hydrator);
Please login to merge, or discard this patch.
src/SpeckCatalog/Model/Choice.php 2 patches
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     }
24 24
 
25 25
     /**
26
-     * @param $choiceId
26
+     * @param integer $choiceId
27 27
      * @return self
28 28
      */
29 29
     public function setChoiceId($choiceId)
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     }
96 96
 
97 97
     /**
98
-     * @param $priceOverrideFixed
98
+     * @param integer|null $priceOverrideFixed
99 99
      * @return self
100 100
      */
101 101
     public function setPriceOverrideFixed($priceOverrideFixed)
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     }
114 114
 
115 115
     /**
116
-     * @param $priceDiscountFixed
116
+     * @param integer|null $priceDiscountFixed
117 117
      * @return self
118 118
      */
119 119
     public function setPriceDiscountFixed($priceDiscountFixed)
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     }
132 132
 
133 133
     /**
134
-     * @param $priceDiscountPercent
134
+     * @param integer|null $priceDiscountPercent
135 135
      * @return self
136 136
      */
137 137
     public function setPriceDiscountPercent($priceDiscountPercent)
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     }
142 142
 
143 143
     /**
144
-     * @return priceNoCharge
144
+     * @return integer
145 145
      */
146 146
     public function getPriceNoCharge()
147 147
     {
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
     }
150 150
 
151 151
     /**
152
-     * @param $priceNoCharge
152
+     * @param integer $priceNoCharge
153 153
      * @return self
154 154
      */
155 155
     public function setPriceNoCharge($priceNoCharge)
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     }
160 160
 
161 161
     /**
162
-     * @return sortWeight
162
+     * @return integer
163 163
      */
164 164
     public function getSortWeight()
165 165
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
      */
155 155
     public function setPriceNoCharge($priceNoCharge)
156 156
     {
157
-        $this->priceNoCharge = (bool)$priceNoCharge;
157
+        $this->priceNoCharge = (bool) $priceNoCharge;
158 158
         return $this;
159 159
     }
160 160
 
Please login to merge, or discard this patch.
src/SpeckCatalog/Model/Product/Relational.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
     }
265 265
 
266 266
     /**
267
-     * @return manufacturer
267
+     * @return \SpeckContact\Entity\Company|null
268 268
      */
269 269
     public function getManufacturer()
270 270
     {
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
     }
293 293
 
294 294
     /**
295
-     * @return parent
295
+     * @return AbstractModel
296 296
      */
297 297
     public function getParent()
298 298
     {
Please login to merge, or discard this patch.
src/SpeckCatalog/Model/ProductUom/Relational.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     }
63 63
 
64 64
     /**
65
-     * @return parent
65
+     * @return AbstractModel
66 66
      */
67 67
     public function getParent()
68 68
     {
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     }
84 84
 
85 85
     /**
86
-     * @return enabled
86
+     * @return integer
87 87
      */
88 88
     public function getEnabled()
89 89
     {
Please login to merge, or discard this patch.
src/SpeckCatalog/Model/Spec/Relational.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     protected $parent;
11 11
 
12 12
     /**
13
-     * @return parent
13
+     * @return AbstractModel
14 14
      */
15 15
     public function getParent()
16 16
     {
Please login to merge, or discard this patch.
src/SpeckCatalog/Service/FormService.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -10,6 +10,10 @@  discard block
 block discarded – undo
10 10
 {
11 11
     protected $serviceLocator;
12 12
 
13
+    /**
14
+     * @param string $name
15
+     * @param \SpeckCatalog\Model\Product $model
16
+     */
13 17
     public function getForm($name = null, $model = null, $data = null)
14 18
     {
15 19
         $form = $this->formFromServiceManager($name);
@@ -38,6 +42,10 @@  discard block
 block discarded – undo
38 42
         return $this->getServiceLocator()->get($filterName);
39 43
     }
40 44
 
45
+    /**
46
+     * @param string $name
47
+     * @param \SpeckCatalog\Model\Product $model
48
+     */
41 49
     public function getKeyFields($name, $model = null, $parentKeyFields = false)
42 50
     {
43 51
         $form = $this->formFromServiceManager($name);
Please login to merge, or discard this patch.