@@ -20,7 +20,7 @@ |
||
| 20 | 20 | ?string $keyspace = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 21 | 21 | ): string { |
| 22 | 22 | $str = ''; |
| 23 | - $keysize = strlen($keyspace) - 1; |
|
| 23 | + $keysize = strlen($keyspace)-1; |
|
| 24 | 24 | for ($i = 0; $i < $length; ++$i) { |
| 25 | 25 | $randomKeyPosition = random_int(0, $keysize); |
| 26 | 26 | $str .= $keyspace[$randomKeyPosition]; |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | |
| 45 | 45 | public function explain(QueryInterface $query): string |
| 46 | 46 | { |
| 47 | - $response = $this->runCommand( |
|
| 47 | + $response = $this->runCommand( |
|
| 48 | 48 | Explain::createCommandWithArguments($query) |
| 49 | 49 | ); |
| 50 | 50 | return implode(' ', $response); |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | $edgeCount = count($this->edges); |
| 37 | 37 | foreach ($this->edges as $index => $edge) { |
| 38 | 38 | $query .= $edge->toString(); |
| 39 | - if ($index < $edgeCount - 1) { |
|
| 39 | + if ($index < $edgeCount-1) { |
|
| 40 | 40 | $query .= ', '; |
| 41 | 41 | } |
| 42 | 42 | } |
@@ -83,7 +83,7 @@ |
||
| 83 | 83 | |
| 84 | 84 | private function getProps(iterable $properties): string |
| 85 | 85 | { |
| 86 | - $props = ''; |
|
| 86 | + $props = ''; |
|
| 87 | 87 | foreach ($properties as $propKey => $propValue) { |
| 88 | 88 | if ($props !== '') { |
| 89 | 89 | $props .= ', '; |