Completed
Push — master ( ee94a5...d975bd )
by Nicolaas
04:02
created
code/model/address/OrderAddress.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,6 +132,9 @@  discard block
 block discarded – undo
132 132
      */
133 133
     protected $_canView = null;
134 134
 
135
+    /**
136
+     * @param DataObject $member
137
+     */
135 138
     public function canCreate($member = null)
136 139
     {
137 140
         if (! $member) {
@@ -353,6 +356,7 @@  discard block
 block discarded – undo
353 356
      * makes selected fields into read only using the $this->readOnlyFields array.
354 357
      *
355 358
      * @param FieldList | Composite $fields
359
+     * @param CompositeField $fields
356 360
      *
357 361
      * @return FieldList
358 362
      */
@@ -420,7 +424,7 @@  discard block
 block discarded – undo
420 424
      * Casted variable
421 425
      * returns the full strng of the record.
422 426
      *
423
-     * @return string
427
+     * @return HTMLText
424 428
      */
425 429
     public function FullString()
426 430
     {
Please login to merge, or discard this patch.
code/model/extensions/EcommerceRole.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,6 +142,7 @@  discard block
 block discarded – undo
142 142
      * tells us if the current member is in the Shop Administrators Group.
143 143
      *
144 144
      * @param Member | Null $member
145
+     * @param DataObject $member
145 146
      *
146 147
      * @return bool
147 148
      */
@@ -161,6 +162,7 @@  discard block
 block discarded – undo
161 162
      * tells us if the current member is in the Shop Administrators Group.
162 163
      *
163 164
      * @param Member | Null $member
165
+     * @param DataObject $member
164 166
      *
165 167
      * @return bool
166 168
      */
@@ -180,6 +182,7 @@  discard block
 block discarded – undo
180 182
      * tells us if the current member can process the orders
181 183
      *
182 184
      * @param Member | Null $member
185
+     * @param DataObject $member
183 186
      *
184 187
      * @return bool
185 188
      */
@@ -416,7 +419,6 @@  discard block
 block discarded – undo
416 419
     }
417 420
 
418 421
     /**
419
-     * @param bool $additionalFields: add extra fields.
420 422
      *
421 423
      * @return FieldList
422 424
      */
@@ -503,7 +505,7 @@  discard block
 block discarded – undo
503 505
      * Return which member fields should be required on {@link OrderForm}
504 506
      * and {@link ShopAccountForm}.
505 507
      *
506
-     * @return array
508
+     * @return string[]
507 509
      */
508 510
     public function getEcommerceRequiredFields()
509 511
     {
Please login to merge, or discard this patch.
code/model/extensions/EcommerceSiteTreeExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      * In templates, it is used like this:
19 19
      * $AJAXDefinitions.TableID.
20 20
      *
21
-     * @return EcommerceConfigAjax
21
+     * @return EcommerceConfigAjaxDefinitions
22 22
      **/
23 23
     public function AJAXDefinitions()
24 24
     {
Please login to merge, or discard this patch.
code/model/money/EcommercePayment.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 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
     {
@@ -399,6 +399,7 @@  discard block
 block discarded – undo
399 399
      * Return the form requirements for all the payment methods.
400 400
      *
401 401
      * @param null | Array
402
+     * @param Order $order
402 403
      *
403 404
      * @return An array suitable for passing to CustomRequiredFields
404 405
      */
@@ -414,6 +415,7 @@  discard block
 block discarded – undo
414 415
      *
415 416
      * @param string       $amount formatted amount (e.g. 12.30) without the currency
416 417
      * @param null | Order $order
418
+     * @param Order $order
417 419
      *
418 420
      * @return FieldList
419 421
      */
Please login to merge, or discard this patch.
code/model/OrderAttribute.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -330,7 +330,7 @@
 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/OrderModifier.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -422,7 +422,7 @@  discard block
 block discarded – undo
422 422
     }
423 423
 
424 424
     /**
425
-     * @return object (HeadingField)
425
+     * @return FormField (HeadingField)
426 426
      */
427 427
     protected function headingField()
428 428
     {
@@ -435,7 +435,7 @@  discard block
 block discarded – undo
435 435
     }
436 436
 
437 437
     /**
438
-     * @return object (LiteralField)
438
+     * @return LiteralField (LiteralField)
439 439
      */
440 440
     protected function descriptionField()
441 441
     {
Please login to merge, or discard this patch.
code/model/process/OrderStatusLogs/OrderStatusLog_DispatchPhysicalOrder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     }
95 95
 
96 96
     /**
97
-     *@return string
97
+     *@return HTMLText
98 98
      **/
99 99
     public function CustomerNote()
100 100
     {
Please login to merge, or discard this patch.
code/model/process/OrderStatusLogs/OrderStatusLog_PaymentCheck.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     }
94 94
 
95 95
     /**
96
-     * @return string
96
+     * @return HTMLText|null
97 97
      **/
98 98
     public function CustomerNote()
99 99
     {
Please login to merge, or discard this patch.
code/model/process/OrderStep.php 1 patch
Doc Comments   +6 added lines, -5 removed lines patch added patch discarded remove patch
@@ -594,7 +594,7 @@  discard block
 block discarded – undo
594 594
      *
595 595
      * @see Order::doNextStatus
596 596
      *
597
-     * @param Order object
597
+     * @param Order Order
598 598
      *
599 599
      * @return bool - true if the current step is ready to be run...
600 600
      **/
@@ -613,7 +613,7 @@  discard block
 block discarded – undo
613 613
      *
614 614
      * @see Order::doNextStatus
615 615
      *
616
-     * @param Order object
616
+     * @param Order Order
617 617
      *
618 618
      * @return bool - true if run correctly.
619 619
      **/
@@ -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
      **/
@@ -902,7 +903,7 @@  discard block
 block discarded – undo
902 903
     /**
903 904
      * Formatted answer for "hasCustomerMessage".
904 905
      *
905
-     * @return string
906
+     * @return DBField
906 907
      */
907 908
     public function ShowAsSummary()
908 909
     {
@@ -912,7 +913,7 @@  discard block
 block discarded – undo
912 913
     /**
913 914
      *
914 915
      *
915
-     * @return string
916
+     * @return DBField
916 917
      */
917 918
     public function getShowAsSummary()
918 919
     {
@@ -972,7 +973,7 @@  discard block
 block discarded – undo
972 973
     /**
973 974
      * Formatted answer for "hasCustomerMessage".
974 975
      *
975
-     * @return string
976
+     * @return DBField
976 977
      */
977 978
     public function NameAndDescription()
978 979
     {
Please login to merge, or discard this patch.