Completed
Pull Request — master (#10)
by Franco
01:51
created
code/classes/DMSDocumentCart.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @param int $itemID The ID of the item
61 61
      *
62
-     * @return DMSRequestItem|boolean
62
+     * @return DMSRequestItem
63 63
      */
64 64
     public function getItem($itemID)
65 65
     {
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
     /**
222 222
      * Checks if an item exists within a cart. Returns true (if exists) or false.
223 223
      *
224
-     * @param $itemID
224
+     * @param integer $itemID
225 225
      *
226 226
      * @return bool
227 227
      */
Please login to merge, or discard this patch.
code/controllers/DMSDocumentCartController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      *
65 65
      * @param SS_HTTPRequest $request
66 66
      *
67
-     * @return SS_HTTPResponse|string
67
+     * @return string|null
68 68
      */
69 69
     public function add(SS_HTTPRequest $request)
70 70
     {
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      *
105 105
      * @param SS_HTTPRequest $request
106 106
      *
107
-     * @return SS_HTTPResponse|string
107
+     * @return string|null
108 108
      */
109 109
     public function deduct(SS_HTTPRequest $request)
110 110
     {
Please login to merge, or discard this patch.