Completed
Push — master ( d5e34d...50fc8a )
by Nicolaas
02:48
created
code/forms/gridfield/GridFieldPrintInvoiceButton.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
code/forms/gridfield/GridFieldPrintPackingSlipButton.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
code/forms/OrderForm.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
code/forms/OrderForm_Cancel.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,6 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
code/forms/OrderFormAddress.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
      * - saved
307 307
      * - has password.
308 308
      *
309
-     * @return bool
309
+     * @return boolean|null
310 310
      */
311 311
     protected function orderHasFullyOperationalMember()
312 312
     {
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
      *
341 341
      * @param array       $data    Form request data submitted from OrderForm
342 342
      * @param Form        $form    Form object for this action
343
-     * @param HTTPRequest $request Request object for this action
343
+     * @param SS_HTTPRequest $request Request object for this action
344 344
      */
345 345
     public function saveAddress(array $data, Form $form, SS_HTTPRequest $request)
346 346
     {
@@ -426,7 +426,6 @@  discard block
 block discarded – undo
426 426
     /**
427 427
      * saves the form into session.
428 428
      *
429
-     * @param array $data - data from form.
430 429
      */
431 430
     public function saveDataToSession()
432 431
     {
Please login to merge, or discard this patch.
code/forms/OrderModifierForm.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,6 +64,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
code/interfaces/EcommercePaymentSupportedMethodsProviderInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -13,6 +13,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
code/model/address/EcommerceRegion.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -185,7 +185,6 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
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.