@@ -172,7 +172,7 @@ |
||
172 | 172 | return array_values( |
173 | 173 | array_filter( |
174 | 174 | $neighbors, |
175 | - function ($item) use ($current) { |
|
175 | + function($item) use ($current) { |
|
176 | 176 | return $item != $current; |
177 | 177 | } |
178 | 178 | ) |
@@ -200,7 +200,7 @@ |
||
200 | 200 | */ |
201 | 201 | public function get(int $index) |
202 | 202 | { |
203 | - if (! $this->validIndex($index)) { |
|
203 | + if (!$this->validIndex($index)) { |
|
204 | 204 | throw new OutOfRangeException(); |
205 | 205 | } |
206 | 206 |
@@ -85,7 +85,7 @@ |
||
85 | 85 | */ |
86 | 86 | protected function decreaseCapacity() |
87 | 87 | { |
88 | - $this->setSize(max(self::MIN_CAPACITY, $this->getSize() * $this->getDecayFactor())); |
|
88 | + $this->setSize(max(self::MIN_CAPACITY, $this->getSize() * $this->getDecayFactor())); |
|
89 | 89 | } |
90 | 90 | |
91 | 91 | /** |