Completed
Push — master ( f0b4ea...4efcd1 )
by Nicolaas
01:59
created
code/control/EcommercePaymentController.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -34,6 +34,7 @@
 block discarded – undo
34 34
 
35 35
     /**
36 36
      * @param string | Int $orderID
37
+     * @param integer $orderID
37 38
      *
38 39
      * @return string (Link)
39 40
      */
Please login to merge, or discard this patch.
code/control/ShoppingCart_Controller.php 1 patch
Doc Comments   +8 added lines, -5 removed lines patch added patch discarded remove patch
@@ -129,6 +129,7 @@  discard block
 block discarded – undo
129 129
     /**
130 130
      * returns ABSOLUTE link to the shopping cart controller.
131 131
      * @param null | array | string $actionAndOtherLinkVariables
132
+     * @param string $actionAndOtherLinkVariables
132 133
      * @return string
133 134
      */
134 135
     protected static function create_link($actionAndOtherLinkVariables = null)
@@ -266,6 +267,7 @@  discard block
 block discarded – undo
266 267
 
267 268
     /**
268 269
      * @param array $parameters
270
+     * @param integer $orderID
269 271
      *
270 272
      * @return string
271 273
      */
@@ -276,7 +278,8 @@  discard block
 block discarded – undo
276 278
 
277 279
     /**
278 280
      *
279
-     * @return null | string
281
+     * @param integer $orderID
282
+     * @return string|null | string
280 283
      */
281 284
     public static function copy_order_link($orderID, $parameters = array())
282 285
     {
@@ -622,7 +625,7 @@  discard block
 block discarded – undo
622 625
      *
623 626
      * @param SS_HTTPRequest
624 627
      *
625
-     * @return HTML
628
+     * @return HTMLText
626 629
      */
627 630
     public function showcart(SS_HTTPRequest $request)
628 631
     {
@@ -634,7 +637,7 @@  discard block
 block discarded – undo
634 637
      *
635 638
      * @param SS_HTTPRequest
636 639
      *
637
-     * @return REDIRECT
640
+     * @return SS_HTTPResponse|null
638 641
      */
639 642
     public function loadorder(SS_HTTPRequest $request)
640 643
     {
@@ -731,7 +734,7 @@  discard block
 block discarded – undo
731 734
      *
732 735
      * @param SS_HTTPRequest
733 736
      *
734
-     * @return REDIRECT
737
+     * @return SS_HTTPResponse|null
735 738
      */
736 739
     public function placeorderformember(SS_HTTPRequest $request)
737 740
     {
@@ -761,7 +764,7 @@  discard block
 block discarded – undo
761 764
      *
762 765
      * @param SS_HTTPRequest
763 766
      *
764
-     * @return REDIRECT
767
+     * @return SS_HTTPResponse|null
765 768
      */
766 769
     public function loginas(SS_HTTPRequest $request)
767 770
     {
Please login to merge, or discard this patch.
code/OrderConfirmationPage.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -301,8 +301,7 @@  discard block
 block discarded – undo
301 301
     /**
302 302
      * Return a link to view the order on this page.
303 303
      *
304
-     * @param int|string $orderID                ID of the order
305
-     * @param string     $type                   - the type of email you want to send.
304
+     * @param integer $orderID                ID of the order
306 305
      * @param bool       $actuallySendEmail      - do we actually send the email
307 306
      * @param int        $alternativeOrderStepID - OrderStep to use
308 307
      *
@@ -341,7 +340,7 @@  discard block
 block discarded – undo
341 340
      *
342 341
      * @param bool $isCurrentStep
343 342
      *
344
-     * @return Checkout_StepDescription
343
+     * @return CheckoutPage_StepDescription
345 344
      */
346 345
     public function CurrentCheckoutStep($isCurrentStep = false)
347 346
     {
@@ -691,7 +690,7 @@  discard block
 block discarded – undo
691 690
      * checking to see if IsFeedbackEnabled is true
692 691
      * first of all.
693 692
      *
694
-     * @return OrderForm_Feedback
693
+     * @return OrderConfirmationPage_Controller|null
695 694
      */
696 695
     public function FeedbackForm()
697 696
     {
Please login to merge, or discard this patch.
code/forms/OrderFormAddress.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
      * - saved
316 316
      * - has password.
317 317
      *
318
-     * @return bool
318
+     * @return boolean|null
319 319
      */
320 320
     protected function orderHasFullyOperationalMember()
321 321
     {
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
      *
350 350
      * @param array       $data    Form request data submitted from OrderForm
351 351
      * @param Form        $form    Form object for this action
352
-     * @param HTTPRequest $request Request object for this action
352
+     * @param SS_HTTPRequest $request Request object for this action
353 353
      */
354 354
     public function saveAddress(array $data, Form $form, SS_HTTPRequest $request)
355 355
     {
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
      *
372 372
      * @param array       $data    Form request data submitted from OrderForm
373 373
      * @param Form        $form    Form object for this action
374
-     * @param HTTPRequest $request Request object for this action
374
+     * @param SS_HTTPRequest $request Request object for this action
375 375
      */
376 376
     public function saveAddressDetails(array $data, Form $form, SS_HTTPRequest $request)
377 377
     {
@@ -454,7 +454,6 @@  discard block
 block discarded – undo
454 454
     /**
455 455
      * saves the form into session.
456 456
      *
457
-     * @param array $data - data from form.
458 457
      */
459 458
     public function saveDataToSession()
460 459
     {
Please login to merge, or discard this patch.
code/model/process/OrderSteps/OrderStep_SendAdminNotification.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
     /**
27 27
      * can run step once order has been submitted.
28 28
      *
29
-     * @param Order object
29
+     * @param Order Order
30 30
      *
31 31
      * @return bool - true if the current step is ready to be run...
32 32
      **/
Please login to merge, or discard this patch.