@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | $this->spaceSpace = $client->getSpace(Space::VSPACE); |
22 | 22 | $this->indexSpace = $client->getSpace(Space::VINDEX); |
23 | 23 | |
24 | - if($data) { |
|
24 | + if ($data) { |
|
25 | 25 | $this->spaceId = $data[0]; |
26 | 26 | $this->numberType = $data[1]; |
27 | 27 | |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | |
34 | 34 | public function getNumberType() |
35 | 35 | { |
36 | - if(!$this->numberType) { |
|
36 | + if (!$this->numberType) { |
|
37 | 37 | $version = $this->client->evaluate('return box.info.version')->getData()[0]; |
38 | 38 | $this->numberType = $version >= '1.7' ? 'UNSIGNED' : 'NUM'; |
39 | 39 | } |
@@ -32,7 +32,7 @@ |
||
32 | 32 | return 'STR'; |
33 | 33 | } |
34 | 34 | |
35 | - if(!$this->numberType) { |
|
35 | + if (!$this->numberType) { |
|
36 | 36 | throw new Exception("numberType property is null", 1); |
37 | 37 | } |
38 | 38 | return $this->numberType; |