Completed
Push — master ( d782fc...a6a89a )
by Mark
03:13
created
code/account/OrderManipulation.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      * Get the order via url 'ID' or form submission 'OrderID'.
52 52
      * It will check for permission based on session stored ids or member id.
53 53
      *
54
-     * @return the order
54
+     * @return DataObject|null order
55 55
      */
56 56
     public function orderfromid()
57 57
     {
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 
122 122
     /**
123 123
      * Build a form for cancelling, or retrying payment for a placed order.
124
-     * @return Form
124
+     * @return null|OrderActionsForm
125 125
      */
126 126
     public function ActionsForm()
127 127
     {
Please login to merge, or discard this patch.
code/account/ShopMemberFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
      *
10 10
      * @throws ValidationException
11 11
      * @param $data - map of member data
12
-     * @return Member|boolean - new member (not saved to db), or false if there is an error.
12
+     * @return Member - new member (not saved to db), or false if there is an error.
13 13
      */
14 14
     public function create($data)
15 15
     {
Please login to merge, or discard this patch.
code/cart/CartEditField.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,6 @@
 block discarded – undo
82 82
     /**
83 83
      * Add quantity, variation and remove fields to the
84 84
      * item set.
85
-     * @param SS_List $items
86 85
      */
87 86
     protected function editableItems()
88 87
     {
Please login to merge, or discard this patch.
code/checkout/Checkout.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -166,6 +166,7 @@
 block discarded – undo
166 166
 
167 167
     /**
168 168
      * Store a new error & return false;
169
+     * @param string $message
169 170
      */
170 171
     protected function error($message)
171 172
     {
Please login to merge, or discard this patch.
code/checkout/CheckoutPage.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -21,6 +21,8 @@
 block discarded – undo
21 21
      * Returns the link to the checkout page on this site
22 22
      *
23 23
      * @param boolean $urlSegment If set to TRUE, only returns the URLSegment field
24
+     * @param string $action
25
+     * @param integer $id
24 26
      * @return string Link to checkout page
25 27
      */
26 28
     public static function find_link($urlSegment = false, $action = null, $id = null)
Please login to merge, or discard this patch.
code/checkout/components/CheckoutComponent.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
      * Get form fields for manipulating the current order,
23 23
      * according to the responsibilty of this component.
24 24
      *
25
-     * @param  Form $form the form being updated
26 25
      * @throws Exception
27 26
      * @return FieldList fields for manipulating order
28 27
      */
Please login to merge, or discard this patch.
code/checkout/OrderProcessor.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 
178 178
     /**
179 179
      * Determine if an order can be placed.
180
-     * @param boolean $order
180
+     * @param Order $order
181 181
      */
182 182
     public function canPlace(Order $order)
183 183
     {
@@ -201,7 +201,6 @@  discard block
 block discarded – undo
201 201
 
202 202
     /**
203 203
      * Takes an order from being a cart to awaiting payment.
204
-     * @param Member $member - assign a member to the order
205 204
      * @return boolean - success/failure
206 205
      */
207 206
     public function placeOrder()
@@ -290,6 +289,9 @@  discard block
 block discarded – undo
290 289
         return $this->error;
291 290
     }
292 291
 
292
+    /**
293
+     * @param string $message
294
+     */
293 295
     private function error($message)
294 296
     {
295 297
         $this->error = $message;
Please login to merge, or discard this patch.
code/cms/ShopConfig.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -48,6 +48,9 @@
 block discarded – undo
48 48
         $countriestab->setTitle("Allowed Countries");
49 49
     }
50 50
 
51
+    /**
52
+     * @return string
53
+     */
51 54
     public static function get_base_currency()
52 55
     {
53 56
         return self::config()->base_currency;
Please login to merge, or discard this patch.
code/model/Buyable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@  discard block
 block discarded – undo
16 16
      * Create a new OrderItem to add to an order.
17 17
      *
18 18
      * @param int $quantity
19
-     * @param boolean $write
20 19
      * @return OrderItem new OrderItem object
21 20
      */
22 21
     public function createItem($quantity = 1, $filter = array());
@@ -28,6 +27,7 @@  discard block
 block discarded – undo
28 27
      *
29 28
      * @throws ShopBuyableException
30 29
      *
30
+     * @param DataObject $member
31 31
      * @return boolean
32 32
      */
33 33
     public function canPurchase($member = null, $quantity = 1);
Please login to merge, or discard this patch.