Completed
Push — master ( 396bd1...fbf0e7 )
by
unknown
03:26
created
code/search/filters/OrderEmailRecordFilters.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 class OrderEmailRecordFilters_MultiOptionsetStatusIDFilter extends ExactMatchFilter
13 13
 {
14 14
     /**
15
-     *@return SQLQuery
15
+     *@return DataQuery
16 16
      **/
17 17
     public function apply(DataQuery $query)
18 18
     {
Please login to merge, or discard this patch.
code/tasks/EcommerceTaskCleanupProducts.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
 
20 20
     protected $deleteFirst = true;
21 21
 
22
+    /**
23
+     * @param boolean $b
24
+     */
22 25
     public function setDeleteFirst($b)
23 26
     {
24 27
         $this->deleteFirst = $b;
Please login to merge, or discard this patch.
code/tasks/EcommerceTaskMigration.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,8 +196,10 @@
 block discarded – undo
196 196
      *
197 197
      * @param string - $field - name of the field to be tested
198 198
      * @param string - $table - name of the table to be tested
199
+     * @param string $table
200
+     * @param string $field
199 201
      *
200
-     * @return bool
202
+     * @return boolean|null
201 203
      */
202 204
     protected function makeFieldObsolete($table, $field, $format = '')
203 205
     {
Please login to merge, or discard this patch.
code/tasks/EcommerceTaskOrderItemsPerCustomer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@
 block discarded – undo
69 69
         }
70 70
     }
71 71
 
72
+    /**
73
+     * @param DataList $orderItems
74
+     */
72 75
     public function generateExportFileData($email, $date, $orderItems)
73 76
     {
74 77
         $separator = ',';
Please login to merge, or discard this patch.
code/interfaces/BuyableModel.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * You can set an alternative class name for order item using this method.
114 114
      *
115
-     * @param string $ClassName
115
+     * @param string $className
116 116
      **/
117 117
     public function setAlternativeClassNameForOrderItem($className);
118 118
 
@@ -240,6 +240,10 @@  discard block
 block discarded – undo
240 240
      * @return float (casted variable)
241 241
      */
242 242
     public function CalculatedPrice();
243
+
244
+    /**
245
+     * @return double
246
+     */
243 247
     public function getCalculatedPrice();
244 248
 
245 249
     /**
@@ -248,6 +252,10 @@  discard block
 block discarded – undo
248 252
      * @return Money
249 253
      */
250 254
     public function CalculatedPriceAsMoney();
255
+
256
+    /**
257
+     * @return Money
258
+     */
251 259
     public function getCalculatedPriceAsMoney();
252 260
 
253 261
     //CRUD SETTINGS
Please login to merge, or discard this patch.
code/Product.php 1 patch
Doc Comments   +7 added lines, -6 removed lines patch added patch discarded remove patch
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
     /**
323 323
      * Used in getCSMFields.
324 324
      *
325
-     * @return GridField
325
+     * @return UploadField
326 326
      **/
327 327
     protected function getAdditionalImagesField()
328 328
     {
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
     /**
338 338
      * Used in getCSMFields.
339 339
      *
340
-     * @return GridField
340
+     * @return UploadField
341 341
      **/
342 342
     protected function getAdditionalFilesField()
343 343
     {
@@ -626,7 +626,7 @@  discard block
 block discarded – undo
626 626
     /**
627 627
      * returns the default image of the product.
628 628
      *
629
-     * @return Image | Null
629
+     * @return string | Null
630 630
      */
631 631
     public function DefaultImage()
632 632
     {
@@ -661,7 +661,7 @@  discard block
 block discarded – undo
661 661
     /**
662 662
      * @TODO: complete
663 663
      *
664
-     * @param string $compontent - the has many relationship you are looking at, e.g. OrderAttribute
664
+     * @param string $component - the has many relationship you are looking at, e.g. OrderAttribute
665 665
      *
666 666
      * @return DataList (CHECK!)
667 667
      */
@@ -752,7 +752,7 @@  discard block
 block discarded – undo
752 752
     /**
753 753
      * You can set an alternative class name for order item using this method.
754 754
      *
755
-     * @param string $ClassName
755
+     * @param string $className
756 756
      **/
757 757
     public function setAlternativeClassNameForOrderItem($className)
758 758
     {
@@ -879,6 +879,7 @@  discard block
 block discarded – undo
879 879
      * set new specific new quantity for buyable's orderitem.
880 880
      *
881 881
      * @param float
882
+     * @param integer $quantity
882 883
      *
883 884
      * @return string (Link)
884 885
      */
@@ -970,7 +971,7 @@  discard block
 block discarded – undo
970 971
      * In templates, it is used like this:
971 972
      * $EcommerceConfigAjax.TableID.
972 973
      *
973
-     * @return EcommerceConfigAjax
974
+     * @return EcommerceConfigAjaxDefinitions
974 975
      **/
975 976
     public function AJAXDefinitions()
976 977
     {
Please login to merge, or discard this patch.
code/forms/OrderForm_Payment.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,6 @@
 block discarded – undo
93 93
     /**
94 94
      * saves the form into session.
95 95
      *
96
-     * @param array $data - data from form.
97 96
      */
98 97
     public function saveDataToSession()
99 98
     {
Please login to merge, or discard this patch.
code/forms/OrderStatusLogForm.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,6 @@
 block discarded – undo
93 93
     /**
94 94
      * saves the form into session.
95 95
      *
96
-     * @param array $data - data from form.
97 96
      */
98 97
     public function saveDataToSession()
99 98
     {
Please login to merge, or discard this patch.
code/forms/ShopAccountForm.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,6 @@
 block discarded – undo
93 93
     /**
94 94
      * saves the form into session.
95 95
      *
96
-     * @param array $data - data from form.
97 96
      */
98 97
     public function saveDataToSession()
99 98
     {
Please login to merge, or discard this patch.