@@ -41,8 +41,8 @@ |
||
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | - * {@inheritdoc} |
|
| 45 | - */ |
|
| 44 | + * {@inheritdoc} |
|
| 45 | + */ |
|
| 46 | 46 | public function setValue($value) |
| 47 | 47 | { |
| 48 | 48 | $this->value = $value; |
@@ -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 | ) |
@@ -88,8 +88,8 @@ |
||
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | /** |
| 91 | - * @inheritDoc |
|
| 92 | - */ |
|
| 91 | + * @inheritDoc |
|
| 92 | + */ |
|
| 93 | 93 | public function first() |
| 94 | 94 | { |
| 95 | 95 | if ($this->isEmpty()) { |
@@ -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 | |
@@ -90,7 +90,7 @@ |
||
| 90 | 90 | */ |
| 91 | 91 | protected function decreaseCapacity() |
| 92 | 92 | { |
| 93 | - $this->capacity = max(self::MIN_CAPACITY, $this->capacity * $this->getDecayFactor()); |
|
| 93 | + $this->capacity = max(self::MIN_CAPACITY, $this->capacity * $this->getDecayFactor()); |
|
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | /** |