@@ -1,8 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Ds\Traits; |
3 | 3 | |
4 | -use Ds\Deque; |
|
5 | - |
|
6 | 4 | /** |
7 | 5 | * Common to structures that deal with an internal capacity. While none of the |
8 | 6 | * PHP implementations actually make use of a capacity, it's important to keep |
@@ -118,7 +118,7 @@ |
||
118 | 118 | { |
119 | 119 | $this->capacity = max( |
120 | 120 | self::MIN_CAPACITY, |
121 | - $this->capacity() * $this->getDecayFactor() |
|
121 | + $this->capacity() * $this->getDecayFactor() |
|
122 | 122 | ); |
123 | 123 | } |
124 | 124 |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Ds; |
3 | 3 | |
4 | -use Error; |
|
5 | 4 | use OutOfBoundsException; |
6 | 5 | use OutOfRangeException; |
7 | 6 | use Traversable; |