@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | /** |
| 45 | 45 | * @param array $data The form request data submitted |
| 46 | 46 | * @param Form $form The {@link Form} this was submitted on |
| 47 | - * @param HTTPRequest $request The {@link Form} this was submitted on |
|
| 47 | + * @param SS_HTTPRequest $request The {@link Form} this was submitted on |
|
| 48 | 48 | */ |
| 49 | 49 | public function dofeedback(array $data, Form $form, SS_HTTPRequest $request) |
| 50 | 50 | { |
@@ -75,7 +75,6 @@ discard block |
||
| 75 | 75 | /** |
| 76 | 76 | * saves the form into session. |
| 77 | 77 | * |
| 78 | - * @param array $data - data from form. |
|
| 79 | 78 | */ |
| 80 | 79 | public function saveDataToSession() |
| 81 | 80 | { |
@@ -83,6 +82,11 @@ discard block |
||
| 83 | 82 | Session::set("FormInfo.{$this->FormName()}.data", $data); |
| 84 | 83 | } |
| 85 | 84 | |
| 85 | + /** |
|
| 86 | + * @param string $value |
|
| 87 | + * |
|
| 88 | + * @return string |
|
| 89 | + */ |
|
| 86 | 90 | protected function getValueFromOrderConfirmationPage($value) |
| 87 | 91 | { |
| 88 | 92 | if ($page = $this->getOrderConfirmationPage()) { |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | * NOTE: must have a payment (even if it is a fake payment). |
| 42 | 42 | * The reason for this is if people pay straight away then they want to see the payment shown on their invoice. |
| 43 | 43 | * |
| 44 | - * @param Order object |
|
| 44 | + * @param Order Order |
|
| 45 | 45 | * |
| 46 | 46 | * @return bool - true if the current step is ready to be run... |
| 47 | 47 | **/ |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | * |
| 56 | 56 | * @see Order::doNextStatus |
| 57 | 57 | * |
| 58 | - * @param Order object |
|
| 58 | + * @param Order Order |
|
| 59 | 59 | * |
| 60 | 60 | * @return bool - true if the current step is ready to be run... |
| 61 | 61 | **/ |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | /** |
| 68 | 68 | * Add a member to the order - in case he / she is not a shop admin. |
| 69 | 69 | * |
| 70 | - * @param Order object |
|
| 70 | + * @param Order Order |
|
| 71 | 71 | * |
| 72 | 72 | * @return bool - true if run correctly. |
| 73 | 73 | **/ |