@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | * Which columns are handled by this component |
| 86 | 86 | * |
| 87 | 87 | * @param GridField $gridField |
| 88 | - * @return array |
|
| 88 | + * @return string[] |
|
| 89 | 89 | */ |
| 90 | 90 | public function getColumnsHandled($gridField) |
| 91 | 91 | { |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | * Which GridField actions are this component handling |
| 99 | 99 | * |
| 100 | 100 | * @param GridField $gridField |
| 101 | - * @return array |
|
| 101 | + * @return string[] |
|
| 102 | 102 | */ |
| 103 | 103 | public function getActions($gridField) |
| 104 | 104 | { |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | * Which columns are handled by this component |
| 84 | 84 | * |
| 85 | 85 | * @param GridField $gridField |
| 86 | - * @return array |
|
| 86 | + * @return string[] |
|
| 87 | 87 | */ |
| 88 | 88 | public function getColumnsHandled($gridField) |
| 89 | 89 | { |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | * Which GridField actions are this component handling |
| 97 | 97 | * |
| 98 | 98 | * @param GridField $gridField |
| 99 | - * @return array |
|
| 99 | + * @return string[] |
|
| 100 | 100 | */ |
| 101 | 101 | public function getActions($gridField) |
| 102 | 102 | { |
@@ -107,7 +107,6 @@ discard block |
||
| 107 | 107 | /** |
| 108 | 108 | * Handle the actions and apply any changes to the GridField |
| 109 | 109 | * |
| 110 | - * @param GridField $gridFi$gridField->getList()->remove($item);eld |
|
| 111 | 110 | * @param string $actionName |
| 112 | 111 | * @param mixed $arguments |
| 113 | 112 | * @param array $data - form data |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | * |
| 116 | 116 | * @param array $data Form request data submitted from OrderForm |
| 117 | 117 | * @param Form $form Form object for this action |
| 118 | - * @param HTTPRequest $request Request object for this action |
|
| 118 | + * @param SS_HTTPRequest $request Request object for this action |
|
| 119 | 119 | */ |
| 120 | 120 | public function processOrder(array $data, Form $form, SS_HTTPRequest $request) |
| 121 | 121 | { |
@@ -228,7 +228,6 @@ discard block |
||
| 228 | 228 | /** |
| 229 | 229 | * saves the form into session. |
| 230 | 230 | * |
| 231 | - * @param array $data - data from form. |
|
| 232 | 231 | */ |
| 233 | 232 | public function saveDataToSession() |
| 234 | 233 | { |
@@ -93,7 +93,6 @@ |
||
| 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 | { |
@@ -64,6 +64,9 @@ discard block |
||
| 64 | 64 | $this->extend('updateOrderModifierForm', $this); |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | + /** |
|
| 68 | + * @param string $str |
|
| 69 | + */ |
|
| 67 | 70 | protected function myLcFirst($str) |
| 68 | 71 | { |
| 69 | 72 | if (function_exists('lcfirst') === false) { |
@@ -104,7 +107,6 @@ discard block |
||
| 104 | 107 | /** |
| 105 | 108 | * saves the form into session. |
| 106 | 109 | * |
| 107 | - * @param array $data - data from form. |
|
| 108 | 110 | */ |
| 109 | 111 | public function saveDataToSession() |
| 110 | 112 | { |
@@ -13,6 +13,7 @@ |
||
| 13 | 13 | /** |
| 14 | 14 | * assign the right payment gateways for the user |
| 15 | 15 | * @param string (optional) $gateway |
| 16 | + * @return void |
|
| 16 | 17 | */ |
| 17 | 18 | public static function assign_payment_gateway($gateway = ""); |
| 18 | 19 | } |
@@ -185,7 +185,6 @@ |
||
| 185 | 185 | /** |
| 186 | 186 | * checks if a code is allowed. |
| 187 | 187 | * |
| 188 | - * @param string $code - e.g. NZ, NSW, or CO |
|
| 189 | 188 | * |
| 190 | 189 | * @return bool |
| 191 | 190 | */ |
@@ -132,6 +132,9 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | { |
@@ -18,7 +18,7 @@ |
||
| 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 | { |