@@ -170,8 +170,8 @@ |
||
170 | 170 | */ |
171 | 171 | public function rename(string $newName): bool |
172 | 172 | { |
173 | - $result = $this->database->renameTable($this->name, $newName); |
|
174 | - if ($result){ |
|
173 | + $result = $this->database->renameTable($this->name, $newName); |
|
174 | + if ($result){ |
|
175 | 175 | $this->name = $newName; |
176 | 176 | } |
177 | 177 | return $result; |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * |
27 | 27 | * Represents a connection to SQL database server |
28 | 28 | */ |
29 | - class Server extends Datasource |
|
29 | + class Server extends Datasource |
|
30 | 30 | { |
31 | 31 | /** |
32 | 32 | * @access protected |