@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | if (!$this->getPropertyType($property)) { |
167 | 167 | throw new Exception("Unknown property $property", 1); |
168 | 168 | } |
169 | - $options['parts'][] = $this->getPropertyIndex($property)+1; |
|
169 | + $options['parts'][] = $this->getPropertyIndex($property) + 1; |
|
170 | 170 | $options['parts'][] = $this->getPropertyType($property); |
171 | 171 | $this->setPropertyNullable($property, false); |
172 | 172 | } |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | |
200 | 200 | public function isSpecial() : bool |
201 | 201 | { |
202 | - return in_array($this->id, [ ClientSpace::VSPACE_ID, ClientSpace::VINDEX_ID ]); |
|
202 | + return in_array($this->id, [ClientSpace::VSPACE_ID, ClientSpace::VINDEX_ID]); |
|
203 | 203 | } |
204 | 204 | |
205 | 205 | public function isSystem() : bool |
@@ -46,7 +46,7 @@ |
||
46 | 46 | $this->mapper |
47 | 47 | ->getPlugin(Procedure::class) |
48 | 48 | ->get(CreateSequence::class) |
49 | - ->execute($name, $primaryIndex['name'], $primaryIndex['parts'][0][0]+1); |
|
49 | + ->execute($name, $primaryIndex['name'], $primaryIndex['parts'][0][0] + 1); |
|
50 | 50 | |
51 | 51 | $this->mapper->getRepository('_vsequence')->flushCache(); |
52 | 52 |
@@ -44,7 +44,7 @@ |
||
44 | 44 | $pkIndex = null; |
45 | 45 | if ($key) { |
46 | 46 | // convert php to lua index |
47 | - $pkIndex = $space->getPrimaryField()+1; |
|
47 | + $pkIndex = $space->getPrimaryField() + 1; |
|
48 | 48 | if (!array_key_exists($key, $params) || !$params[$key]) { |
49 | 49 | $sequence = 1; |
50 | 50 | $space->getMapper() |