Completed
Push — master ( ebe629...4e95a5 )
by Nicolaas
02:51
created
code/model/process/OrderSteps/OrderStep_Sent.php 1 patch
Doc Comments   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      *
73 73
      * @see Order::doNextStatus
74 74
      *
75
-     * @param Order object
75
+     * @param Order Order
76 76
      *
77 77
      * @return bool - true if the current step is ready to be run...
78 78
      **/
@@ -89,9 +89,9 @@  discard block
 block discarded – undo
89 89
      *
90 90
      * @see Order::doNextStatus
91 91
      *
92
-     * @param Order object
92
+     * @param Order Order
93 93
      *
94
-     * @return bool - true if run correctly.
94
+     * @return boolean|null - true if run correctly.
95 95
      **/
96 96
     public function doStep(Order $order)
97 97
     {
@@ -163,6 +163,9 @@  discard block
 block discarded – undo
163 163
         return _t('OrderStep.SENT_DESCRIPTION', 'During this step we record the delivery details for the order such as the courrier ticket number and whatever else is relevant.');
164 164
     }
165 165
 
166
+    /**
167
+     * @param Order $order
168
+     */
166 169
     public function CalculatedEmailSubject($order = null)
167 170
     {
168 171
         $v = null;
@@ -176,6 +179,9 @@  discard block
 block discarded – undo
176 179
         return $v;
177 180
     }
178 181
 
182
+    /**
183
+     * @param Order $order
184
+     */
179 185
     public function CalculatedCustomerMessage($order = null)
180 186
     {
181 187
         $v = null;
Please login to merge, or discard this patch.
code/forms/OrderForm_Feedback.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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()) {
Please login to merge, or discard this patch.
code/model/process/OrderSteps/OrderStep_SentInvoice.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
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
      **/
Please login to merge, or discard this patch.
code/model/process/OrderSteps/OrderStep_Submitted.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
      **/
Please login to merge, or discard this patch.
code/forms/ProductSearchForm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -555,8 +555,8 @@
 block discarded – undo
555 555
      * can be executed one after the other, each
556 556
      * being less specific than the last...
557 557
      *
558
-     * @param array $words  - words being search
559 558
      * @param array $fields - fields being searched
559
+     * @param string $keywordPhrase
560 560
      *
561 561
      * @return array
562 562
      */
Please login to merge, or discard this patch.
code/model/extensions/EcommerceRole.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,6 +147,7 @@  discard block
 block discarded – undo
147 147
      * tells us if the current member is in the Shop Administrators Group.
148 148
      *
149 149
      * @param Member | Null $member
150
+     * @param DataObject $member
150 151
      *
151 152
      * @return bool
152 153
      */
@@ -166,6 +167,7 @@  discard block
 block discarded – undo
166 167
      * tells us if the current member is in the Shop Administrators Group.
167 168
      *
168 169
      * @param Member | Null $member
170
+     * @param DataObject $member
169 171
      *
170 172
      * @return bool
171 173
      */
@@ -185,6 +187,7 @@  discard block
 block discarded – undo
185 187
      * tells us if the current member can process the orders
186 188
      *
187 189
      * @param Member | Null $member
190
+     * @param DataObject $member
188 191
      *
189 192
      * @return bool
190 193
      */
@@ -442,7 +445,6 @@  discard block
 block discarded – undo
442 445
     }
443 446
 
444 447
     /**
445
-     * @param bool $additionalFields: add extra fields.
446 448
      *
447 449
      * @return FieldList
448 450
      */
Please login to merge, or discard this patch.
code/search/filters/OrderFilters_AroundDateFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     protected $additionalDaysPerMonth = 1;
20 20
 
21 21
     /**
22
-     *@return SQLQuery
22
+     *@return DataQuery
23 23
      **/
24 24
     public function apply(DataQuery $query)
25 25
     {
Please login to merge, or discard this patch.
code/forms/fields/EcommerceSearchHistoryFormField.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -56,6 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
     /**
58 58
      * @param int
59
+     * @param integer $days
59 60
      *
60 61
      * @return EcommerceSearchHistoryFormField
61 62
      */
@@ -68,6 +69,7 @@  discard block
 block discarded – undo
68 69
 
69 70
     /**
70 71
      * @param int
72
+     * @param integer $count
71 73
      *
72 74
      * @return EcommerceSearchHistoryFormField
73 75
      */
@@ -80,6 +82,7 @@  discard block
 block discarded – undo
80 82
 
81 83
     /**
82 84
      * @param int
85
+     * @param boolean $b
83 86
      *
84 87
      * @return EcommerceSearchHistoryFormField
85 88
      */
@@ -92,6 +95,7 @@  discard block
 block discarded – undo
92 95
 
93 96
     /**
94 97
      * @param int
98
+     * @param integer $count
95 99
      *
96 100
      * @return EcommerceSearchHistoryFormField
97 101
      */
@@ -104,6 +108,7 @@  discard block
 block discarded – undo
104 108
 
105 109
     /**
106 110
      * @param int
111
+     * @param integer $number
107 112
      *
108 113
      * @return EcommerceSearchHistoryFormField
109 114
      */
Please login to merge, or discard this patch.
code/ProductGroup.php 1 patch
Doc Comments   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -372,7 +372,7 @@  discard block
 block discarded – undo
372 372
      * by either type (e.g. FILER) or variable (e.g dbFieldName)
373 373
      * or both.
374 374
      *
375
-     * @param string $typeOfVariableName FILTER | SORT | DISPLAY or sessionName, getVariable, etc...
375
+     * @param string $typeOrVariable FILTER | SORT | DISPLAY or sessionName, getVariable, etc...
376 376
      * @param string $variable:          sessionName, getVariable, etc...
377 377
      *
378 378
      * @return array | String
@@ -1608,9 +1608,8 @@  discard block
 block discarded – undo
1608 1608
 
1609 1609
     /**
1610 1610
      *
1611
-     * @param string $name
1612
-     * @param string $filterKey
1613 1611
      *
1612
+     * @param string $cacheKey
1614 1613
      * @return string
1615 1614
      */
1616 1615
     public function cacheKey($cacheKey)
@@ -2253,7 +2252,7 @@  discard block
 block discarded – undo
2253 2252
      *
2254 2253
      * This is different from IsSearchResults.
2255 2254
      *
2256
-     * @return bool
2255
+     * @return boolean|null
2257 2256
      */
2258 2257
     public function ActiveSearchTerm()
2259 2258
     {
@@ -2319,7 +2318,7 @@  discard block
 block discarded – undo
2319 2318
      * Is there a special sort operating at the moment?
2320 2319
      * Is the current sort the default one (return inverse!)?
2321 2320
      *
2322
-     * @return bool
2321
+     * @return boolean|null
2323 2322
      */
2324 2323
     public function HasSort()
2325 2324
     {
@@ -2742,7 +2741,7 @@  discard block
 block discarded – undo
2742 2741
      *
2743 2742
      * @param SS_List
2744 2743
      *
2745
-     * @return PaginatedList
2744
+     * @return ProductGroup_Controller|null
2746 2745
      */
2747 2746
     protected function paginateList(SS_List $list)
2748 2747
     {
Please login to merge, or discard this patch.