Completed
Push — master ( 12b79b...288e8a )
by James
9s
created
src/Cart.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace jamesdb\Cart;
4 4
 
5
+use League\Event\Emitter;
6
+use Money\Currency;
5 7
 use jamesdb\Cart\CartItem;
6 8
 use jamesdb\Cart\Event as CartEvent;
7 9
 use jamesdb\Cart\Exception as CartException;
8 10
 use jamesdb\Cart\Storage\StorageInterface;
9
-use League\Event\Emitter;
10
-use Money\Currency;
11 11
 
12 12
 class Cart implements CurrencyAwareInterface
13 13
 {
Please login to merge, or discard this patch.
src/CartItem.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     /**
97 97
      * Return item price excluding tax.
98 98
      *
99
-     * @return \SebastianBergmann\Money\Money
99
+     * @return \Money\Money
100 100
      */
101 101
     public function getPriceExcludingTax(Currency $currency)
102 102
     {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     /**
107 107
      * Return item price including tax.
108 108
      *
109
-     * @return \SebastianBergmann\Money\Money
109
+     * @return \Money\Money
110 110
      */
111 111
     public function getPrice(Currency $currency)
112 112
     {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     /**
117 117
      * Return the item tax.
118 118
      *
119
-     * @return SebastianBergmann\Money\Money
119
+     * @return \Money\Money
120 120
      */
121 121
     public function getTax(Currency $currency)
122 122
     {
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
      *
167 167
      * @param  string $offset
168 168
      *
169
-     * @return mixed
169
+     * @return boolean
170 170
      */
171 171
     public function offsetExists($offset)
172 172
     {
Please login to merge, or discard this patch.
src/Money.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
      * Constructor.
18 18
      *
19 19
      * @param integer         $total
20
-     * @param \Money\Currency $money
21 20
      */
22 21
     public function __construct($total = 0, MoneyPHP\Currency $currency)
23 22
     {
Please login to merge, or discard this patch.