Completed
Push — master ( 288e8a...71b6d1 )
by James
01:45
created
src/CartItem.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 namespace jamesdb\Cart;
4 4
 
5 5
 use ArrayAccess;
6
-use jamesdb\Cart\Exception\CartPropertyNotIntegerException;
7 6
 use SebastianBergmann\Money\Currency;
8 7
 use SebastianBergmann\Money\Money;
8
+use jamesdb\Cart\Exception\CartPropertyNotIntegerException;
9 9
 
10 10
 class CartItem implements ArrayAccess
11 11
 {
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
      *
99 99
      * @param  \Money\Currency $currency
100 100
      *
101
-     * @return \jamesdb\Cart\Money
101
+     * @return \Money\Money
102 102
      */
103 103
     public function getPriceExcludingTax(Currency $currency)
104 104
     {
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      *
111 111
      * @param  \Money\Currency $currency
112 112
      *
113
-     * @return \jamesdb\Cart\Money
113
+     * @return \Money\Money
114 114
      */
115 115
     public function getPrice(Currency $currency)
116 116
     {
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      *
123 123
      * @param  \Money\Currency $currency
124 124
      *
125
-     * @return \jamesdb\Cart\Money
125
+     * @return \Money\Money
126 126
      */
127 127
     public function getTax(Currency $currency)
128 128
     {
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      *
173 173
      * @param  string $offset
174 174
      *
175
-     * @return mixed
175
+     * @return boolean
176 176
      */
177 177
     public function offsetExists($offset)
178 178
     {
Please login to merge, or discard this patch.
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.