Completed
Push — master ( ebe629...4e95a5 )
by Nicolaas
02:51
created
code/CartPage.php 1 patch
Doc Comments   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -215,6 +215,7 @@  discard block
 block discarded – undo
215 215
      * Returns the "new order" link.
216 216
      *
217 217
      * @param int | String $orderID - not used in CartPage
218
+     * @param integer $orderID
218 219
      *
219 220
      * @return string (URLSegment)
220 221
      */
@@ -227,6 +228,7 @@  discard block
 block discarded – undo
227 228
      * Returns the "copy order" link.
228 229
      *
229 230
      * @param int | String $orderID - not used in CartPage
231
+     * @param integer $orderID
230 232
      *
231 233
      * @return string (URLSegment)
232 234
      */
@@ -240,7 +242,7 @@  discard block
 block discarded – undo
240 242
      *
241 243
      * @param int|string $orderID ID of the order
242 244
      *
243
-     * @return int | String (URLSegment)
245
+     * @return string | String (URLSegment)
244 246
      */
245 247
     public static function get_order_link($orderID)
246 248
     {
@@ -250,7 +252,7 @@  discard block
 block discarded – undo
250 252
     /**
251 253
      * Return a link to view the order on this page.
252 254
      *
253
-     * @param int|string $orderID ID of the order
255
+     * @param integer $orderID ID of the order
254 256
      *
255 257
      * @return string (URLSegment)
256 258
      */
@@ -382,6 +384,10 @@  discard block
 block discarded – undo
382 384
      * @todo: check if we need this....!
383 385
      **/
384 386
     private $message = '';
387
+
388
+    /**
389
+     * @param string $s
390
+     */
385 391
     public static function set_message($s)
386 392
     {
387 393
         $sessionCode = EcommerceConfig::get('CartPage_Controller', 'session_code');
@@ -703,7 +709,7 @@  discard block
 block discarded – undo
703 709
 
704 710
 
705 711
     /**
706
-     * @return string
712
+     * @return DBField
707 713
      **/
708 714
     public function Message()
709 715
     {
Please login to merge, or discard this patch.
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.