@@ -39,7 +39,7 @@ |
||
39 | 39 | * |
40 | 40 | * @param mixed $name |
41 | 41 | * |
42 | - * @return mixed|null |
|
42 | + * @return boolean |
|
43 | 43 | */ |
44 | 44 | public function __isset($name) |
45 | 45 | { |
@@ -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 |