Completed
Push — master ( 92d109...8f13c5 )
by
unknown
03:44
created
code/control/ShoppingCart_Controller.php 1 patch
Doc Comments   +6 added lines, -5 removed lines patch added patch discarded remove patch
@@ -136,6 +136,7 @@  discard block
 block discarded – undo
136 136
     /**
137 137
      * returns ABSOLUTE link to the shopping cart controller.
138 138
      * @param null | array | string $actionAndOtherLinkVariables
139
+     * @param string $actionAndOtherLinkVariables
139 140
      * @return string
140 141
      */
141 142
     protected static function create_link($actionAndOtherLinkVariables = null)
@@ -283,7 +284,7 @@  discard block
 block discarded – undo
283 284
 
284 285
     /**
285 286
      *
286
-     * @return null | string
287
+     * @return string|null | string
287 288
      */
288 289
     public static function copy_order_link($orderID, $parameters = array())
289 290
     {
@@ -598,7 +599,7 @@  discard block
 block discarded – undo
598 599
      *
599 600
      * @param SS_HTTPRequest
600 601
      *
601
-     * @return HTML
602
+     * @return HTMLText
602 603
      */
603 604
     public function showcart(SS_HTTPRequest $request)
604 605
     {
@@ -610,7 +611,7 @@  discard block
 block discarded – undo
610 611
      *
611 612
      * @param SS_HTTPRequest
612 613
      *
613
-     * @return REDIRECT
614
+     * @return SS_HTTPResponse|null
614 615
      */
615 616
     public function loadorder(SS_HTTPRequest $request)
616 617
     {
@@ -706,7 +707,7 @@  discard block
 block discarded – undo
706 707
      *
707 708
      * @param SS_HTTPRequest
708 709
      *
709
-     * @return REDIRECT
710
+     * @return SS_HTTPResponse|null
710 711
      */
711 712
     public function placeorderformember(SS_HTTPRequest $request)
712 713
     {
@@ -737,7 +738,7 @@  discard block
 block discarded – undo
737 738
      *
738 739
      * @param SS_HTTPRequest
739 740
      *
740
-     * @return REDIRECT
741
+     * @return SS_HTTPResponse|null
741 742
      */
742 743
     public function loginas(SS_HTTPRequest $request)
743 744
     {
Please login to merge, or discard this patch.
code/filesystem/Product_Image.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     }
169 169
 
170 170
     /**
171
-     * @return string HTML
171
+     * @return DBField HTML
172 172
      */
173 173
     public function CMSThumbnail()
174 174
     {
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
     }
177 177
 
178 178
     /**
179
-     * @return string HTML
179
+     * @return DBField HTML
180 180
      */
181 181
     public function getCMSThumbnail()
182 182
     {
Please login to merge, or discard this patch.
code/forms/fields/BuyableSelectField.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,6 +127,7 @@  discard block
 block discarded – undo
127 127
     }
128 128
 
129 129
     /**
130
+     * @param boolean $bool
130 131
      */
131 132
     public function setReadonly($bool)
132 133
     {
@@ -299,7 +300,7 @@  discard block
 block discarded – undo
299 300
      *
300 301
      * @param array $array
301 302
      *
302
-     * @return JSON
303
+     * @return string
303 304
      */
304 305
     protected function array2json(array $array)
305 306
     {
Please login to merge, or discard this patch.
code/forms/fields/EcommerceClassNameOrTypeDropdownField.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,6 @@
 block discarded – undo
84 84
     }
85 85
 
86 86
     /**
87
-     * @param array $availableClasses - e.g. Array(MyFavouriteClassName, MyOtherFavouriteClassName)
88 87
      */
89 88
     public function setAvailableClasses(array $array)
90 89
     {
Please login to merge, or discard this patch.
code/forms/fields/EcommerceSearchHistoryFormField.php 1 patch
Doc Comments   +4 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
      */
Please login to merge, or discard this patch.
code/forms/fields/EcomQuantityField.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
     /**
106 106
      * alias of OrderItem.
107 107
      *
108
-     * @return OrderItem
108
+     * @return Order
109 109
      **/
110 110
     public function Item()
111 111
     {
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     }
114 114
 
115 115
     /**
116
-     * @return OrderItem
116
+     * @return Order
117 117
      **/
118 118
     public function OrderItem()
119 119
     {
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     }
186 186
 
187 187
     /**
188
-     * @return string (HTML)
188
+     * @return HTMLText (HTML)
189 189
      **/
190 190
     public function forTemplate()
191 191
     {
Please login to merge, or discard this patch.
code/forms/fields/ExpiryDateField.php 1 patch
Doc Comments   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,6 +11,10 @@  discard block
 block discarded – undo
11 11
  **/
12 12
 class ExpiryDateField extends TextField
13 13
 {
14
+    /**
15
+     * @param string $name
16
+     * @param string $title
17
+     */
14 18
     public function __construct($name, $title = null, $value = '', $form = null)
15 19
     {
16 20
         /*
@@ -44,7 +48,7 @@  discard block
 block discarded – undo
44 48
     }
45 49
 
46 50
     /**
47
-     *@return HTML
51
+     *@return string
48 52
      **/
49 53
     public function Field($properties = array())
50 54
     {
@@ -223,7 +227,7 @@  discard block
 block discarded – undo
223 227
     /**
224 228
      * @param string $title
225 229
      *
226
-     * @return ConfirmedPasswordField
230
+     * @return ExpiryDateField
227 231
      */
228 232
     public function setRightTitle($title)
229 233
     {
@@ -262,9 +266,9 @@  discard block
 block discarded – undo
262 266
      * Value is sometimes an array, and sometimes a single value, so we need
263 267
      * to handle both cases.
264 268
      *
265
-     * @param mixed $value
269
+     * @param string $value
266 270
      *
267
-     * @return ConfirmedPasswordField
271
+     * @return ExpiryDateField
268 272
      */
269 273
     public function setValue($value, $data = null)
270 274
     {
Please login to merge, or discard this patch.
code/forms/fields/OrderStepField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
     /**
130 130
      * standard SS method.
131 131
      *
132
-     * @return Field
132
+     * @return OrderStepField
133 133
      */
134 134
     public function performReadonlyTransformation()
135 135
     {
Please login to merge, or discard this patch.
code/forms/fields/Product_ProductImageUploadField.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,6 @@
 block discarded – undo
118 118
      *
119 119
      *                       @link $record}, with the same name as the field name.
120 120
      *
121
-     * @param Form $form Reference to the container form
122 121
      */
123 122
     public function __construct($name, $title = null, SS_List $items = null)
124 123
     {
Please login to merge, or discard this patch.