@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | |
| 159 | 159 | public function once(string $name, Closure $callback) |
| 160 | 160 | { |
| 161 | - $key = 'mapper-once' . $name; |
|
| 161 | + $key = 'mapper-once'.$name; |
|
| 162 | 162 | $row = $this->mapper->findOne('_schema', ['key' => $key]); |
| 163 | 163 | if (!$row) { |
| 164 | 164 | $this->mapper->create('_schema', ['key' => $key]); |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | |
| 169 | 169 | public function forgetOnce(string $name) |
| 170 | 170 | { |
| 171 | - $key = 'mapper-once' . $name; |
|
| 171 | + $key = 'mapper-once'.$name; |
|
| 172 | 172 | $row = $this->mapper->findOne('_schema', ['key' => $key]); |
| 173 | 173 | if ($row) { |
| 174 | 174 | $this->mapper->remove($row); |