Completed
Branch master (0e04ed)
by Antony
27:37
created
code/account/AccountPage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     /**
32 32
      * Return a link to view the order on the account page.
33 33
      *
34
-     * @param int|string $orderID    ID of the order
34
+     * @param integer $orderID    ID of the order
35 35
      * @param boolean    $urlSegment Return the URLSegment only
36 36
      *
37 37
      * @return string
Please login to merge, or discard this patch.
code/account/OrderActionsForm.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -27,6 +27,10 @@
 block discarded – undo
27 27
 
28 28
     protected      $order;
29 29
 
30
+    /**
31
+     * @param ContentController $controller
32
+     * @param string $name
33
+     */
30 34
     public function __construct($controller, $name, Order $order)
31 35
     {
32 36
         $this->order = $order;
Please login to merge, or discard this patch.
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
     {
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     /**
125 125
      * Build a form for cancelling, or retrying payment for a placed order.
126 126
      *
127
-     * @return Form
127
+     * @return null|OrderActionsForm
128 128
      */
129 129
     public function ActionsForm()
130 130
     {
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
@@ -90,7 +90,6 @@
 block discarded – undo
90 90
      * Add quantity, variation and remove fields to the
91 91
      * item set.
92 92
      *
93
-     * @param SS_List $items
94 93
      */
95 94
     protected function editableItems()
96 95
     {
Please login to merge, or discard this patch.
code/cart/ShoppingCart.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      * Adds an item to the cart
109 109
      *
110 110
      * @param Buyable $buyable
111
-     * @param number $quantity
111
+     * @param integer $quantity
112 112
      * @param unknown $filter
113 113
      *
114 114
      * @return boolean|OrderItem false or the new/existing item
@@ -258,7 +258,6 @@  discard block
 block discarded – undo
258 258
      * Finds an existing order item.
259 259
      *
260 260
      * @param Buyable $buyable
261
-     * @param string $filter
262 261
      *
263 262
      * @return the item requested, or false
264 263
      */
@@ -360,6 +359,7 @@  discard block
 block discarded – undo
360 359
 
361 360
     /**
362 361
      * Store a new error.
362
+     * @param string $message
363 363
      */
364 364
     protected function error($message)
365 365
     {
@@ -457,6 +457,8 @@  discard block
 block discarded – undo
457 457
 
458 458
     /**
459 459
      * Helper for creating a url
460
+     * @param string $action
461
+     * @param Buyable $buyable
460 462
      */
461 463
     protected static function build_url($action, $buyable, $params = array())
462 464
     {
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
      *
25 27
      * @return string Link to checkout page
26 28
      */
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
      *
27 26
      * @throws Exception
28 27
      * @return FieldList fields for manipulating order
Please login to merge, or discard this patch.
code/checkout/components/CheckoutComponentConfig.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -69,6 +69,7 @@
 block discarded – undo
69 69
      * Returns the first available component with the given class or interface.
70 70
      *
71 71
      * @param String ClassName
72
+     * @param string $type
72 73
      *
73 74
      * @return GridFieldComponent
74 75
      */
Please login to merge, or discard this patch.
code/checkout/OrderEmailNotifier.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,8 @@  discard block
 block discarded – undo
65 65
     /**
66 66
      * Send a mail of the order to the client (and another to the admin).
67 67
      *
68
-     * @param $template    - the class name of the email you wish to send
69
-     * @param $subject     - subject of the email
68
+     * @param string $template    - the class name of the email you wish to send
69
+     * @param string $subject     - subject of the email
70 70
      * @param $copyToAdmin - true by default, whether it should send a copy to the admin
71 71
      *
72 72
      * @return bool
@@ -164,6 +164,7 @@  discard block
 block discarded – undo
164 164
      * Used in {@link OrderReport}.
165 165
      *
166 166
      * @param string $note Optional note-content (instead of using the OrderStatusLog)
167
+     * @param string $title
167 168
      */
168 169
     public function sendStatusChange($title, $note = null)
169 170
     {
Please login to merge, or discard this patch.