@@ -113,7 +113,7 @@ |
||
| 113 | 113 | if (!$this->getPropertyType($property)) { |
| 114 | 114 | throw new Exception("Unknown property $property", 1); |
| 115 | 115 | } |
| 116 | - $options['parts'][] = $this->getPropertyIndex($property)+1; |
|
| 116 | + $options['parts'][] = $this->getPropertyIndex($property) + 1; |
|
| 117 | 117 | $options['parts'][] = $this->getPropertyType($property); |
| 118 | 118 | } |
| 119 | 119 | |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | foreach ($schema->getSpaces() as $space) { |
| 119 | 119 | if (!count($space->getIndexes())) { |
| 120 | 120 | if (!$space->hasProperty('id')) { |
| 121 | - throw new Exception("No primary index on ". $space->getName()); |
|
| 121 | + throw new Exception("No primary index on ".$space->getName()); |
|
| 122 | 122 | } |
| 123 | 123 | $space->addIndex(['id']); |
| 124 | 124 | } |