@@ -149,7 +149,7 @@ |
||
| 149 | 149 | $this->rightPosition = unpack('V', $binData)[1]; |
| 150 | 150 | |
| 151 | 151 | $binData = fread($this->handler, $dataLength); |
| 152 | - $dValues = unpack('d'.$this->dimensions, $binData); |
|
| 152 | + $dValues = unpack('d' . $this->dimensions, $binData); |
|
| 153 | 153 | $dValues = array_values($dValues); |
| 154 | 154 | |
| 155 | 155 | $this->item = $this->factory->make($itemId, $dValues); |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | $lowerBound = $tree->getMinBoundary(); |
| 59 | 59 | $this->writeCoordinate($lowerBound); |
| 60 | 60 | |
| 61 | - $root = $tree->getRoot(); |
|
| 61 | + $root = $tree->getRoot(); |
|
| 62 | 62 | if ($root) { |
| 63 | 63 | $this->writeNode($root); |
| 64 | 64 | } |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | */ |
| 108 | 108 | private function writeCoordinate(array $coordinate) |
| 109 | 109 | { |
| 110 | - $dataChunk = pack('d'.$this->dimensions, ...$coordinate); |
|
| 110 | + $dataChunk = pack('d' . $this->dimensions, ...$coordinate); |
|
| 111 | 111 | fwrite($this->handler, $dataChunk); |
| 112 | 112 | } |
| 113 | 113 | |