@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | try { |
79 | 79 | $data = $this->client |
80 | 80 | ->getSpace($this->space) |
81 | - ->select(Criteria::key([ (string) $key ])); |
|
81 | + ->select(Criteria::key([(string) $key])); |
|
82 | 82 | |
83 | 83 | if (count($data)) { |
84 | 84 | [$tuple] = $data; |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | $key->reduceLifetime($ttl); |
103 | 103 | |
104 | 104 | $this->getSpace()->update( |
105 | - [ (string) $key ], |
|
105 | + [(string) $key], |
|
106 | 106 | Operations::set(2, $this->getExpirationTimestamp($key)), |
107 | 107 | ); |
108 | 108 | } |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | $this->checkNotExpired($key); |
126 | 126 | } catch (RequestFailed $e) { |
127 | 127 | $data = $this->getSpace() |
128 | - ->select(Criteria::key([ (string) $key ])); |
|
128 | + ->select(Criteria::key([(string) $key])); |
|
129 | 129 | |
130 | 130 | if (count($data)) { |
131 | 131 | [$tuple] = $data; |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | return $this->client->getSpace($this->space); |
167 | 167 | } catch (RequestFailed $e) { |
168 | 168 | if ($this->createSchema) { |
169 | - $schema = new SchemaManager($this->client, [ 'space' => $this->space ]); |
|
169 | + $schema = new SchemaManager($this->client, ['space' => $this->space]); |
|
170 | 170 | $schema->setup(); |
171 | 171 | return $this->client->getSpace($this->space); |
172 | 172 | } |