Completed
Push — master ( a7618a...095e84 )
by Nicolaas
03:39
created
code/email/Order_Email.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      * turns an html document into a formatted html document
27 27
      * using the emogrify method.
28 28
      *
29
-     * @param $html
29
+     * @param string $html
30 30
      *
31 31
      * @return string HTML
32 32
      */
Please login to merge, or discard this patch.
code/forms/fields/EcomQuantityField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@
 block discarded – undo
185 185
     }
186 186
 
187 187
     /**
188
-     * @return string (HTML)
188
+     * @return HTMLText (HTML)
189 189
      **/
190 190
     public function forTemplate()
191 191
     {
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.
code/model/extensions/EcommerceRole.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -161,6 +161,7 @@  discard block
 block discarded – undo
161 161
      * tells us if the current member is in the Shop Administrators Group.
162 162
      *
163 163
      * @param Member | Null $member
164
+     * @param DataObject $member
164 165
      *
165 166
      * @return bool
166 167
      */
@@ -180,6 +181,7 @@  discard block
 block discarded – undo
180 181
      * tells us if the current member can process the orders
181 182
      *
182 183
      * @param Member | Null $member
184
+     * @param DataObject $member
183 185
      *
184 186
      * @return bool
185 187
      */
@@ -416,7 +418,6 @@  discard block
 block discarded – undo
416 418
     }
417 419
 
418 420
     /**
419
-     * @param bool $additionalFields: add extra fields.
420 421
      *
421 422
      * @return FieldList
422 423
      */
@@ -503,7 +504,7 @@  discard block
 block discarded – undo
503 504
      * Return which member fields should be required on {@link OrderForm}
504 505
      * and {@link ShopAccountForm}.
505 506
      *
506
-     * @return array
507
+     * @return string[]
507 508
      */
508 509
     public function getEcommerceRequiredFields()
509 510
     {
Please login to merge, or discard this patch.
code/model/money/EcommercePayment.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
      * CRUCIAL
82 82
      * makes sure all the relevant payment methods are available ...
83 83
      *
84
-     * @return this | EcommercePayment
84
+     * @return EcommercePayment | EcommercePayment
85 85
      */
86 86
     public function init()
87 87
     {
Please login to merge, or discard this patch.
code/model/OrderAttribute.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
     /**
292 292
      * returns the order - for some unknown reason it seems we need this.
293 293
      *
294
-     * @return Order | null
294
+     * @return null|Order | null
295 295
      */
296 296
     public function Order()
297 297
     {
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
      * In templates, it is used like this:
331 331
      * $EcommerceConfigAjax.TableID.
332 332
      *
333
-     * @return EcommerceConfigAjax
333
+     * @return EcommerceConfigAjaxDefinitions
334 334
      **/
335 335
     public function AJAXDefinitions()
336 336
     {
Please login to merge, or discard this patch.
code/model/process/OrderStep.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -655,6 +655,7 @@  discard block
 block discarded – undo
655 655
      *
656 656
      * @param string $code:       the name of the step to check
657 657
      * @param bool   $orIsEqualTo if set to true, this method will return TRUE if the step being checked is the current one
658
+     * @param string $code
658 659
      *
659 660
      * @return bool
660 661
      **/
@@ -903,7 +904,7 @@  discard block
 block discarded – undo
903 904
     /**
904 905
      * Formatted answer for "hasCustomerMessage".
905 906
      *
906
-     * @return string
907
+     * @return DBField
907 908
      */
908 909
     public function ShowAsSummary()
909 910
     {
@@ -913,7 +914,7 @@  discard block
 block discarded – undo
913 914
     /**
914 915
      *
915 916
      *
916
-     * @return string
917
+     * @return DBField
917 918
      */
918 919
     public function getShowAsSummary()
919 920
     {
@@ -973,7 +974,7 @@  discard block
 block discarded – undo
973 974
     /**
974 975
      * Formatted answer for "hasCustomerMessage".
975 976
      *
976
-     * @return string
977
+     * @return DBField
977 978
      */
978 979
     public function NameAndDescription()
979 980
     {
Please login to merge, or discard this patch.