| @@ -3,7 +3,6 @@ | ||
| 3 | 3 | |
| 4 | 4 | use vakata\database\DBInterface; | 
| 5 | 5 | use vakata\database\DBException; | 
| 6 | -use vakata\database\ResultInterface; | |
| 7 | 6 | |
| 8 | 7 | /** | 
| 9 | 8 | * A database query class | 
| @@ -75,7 +75,7 @@ discard block | ||
| 75 | 75 | |
| 76 | 76 | public function begin() : bool | 
| 77 | 77 |      { | 
| 78 | - return $this->transaction = true; | |
| 78 | + return $this->transaction = true; | |
| 79 | 79 | } | 
| 80 | 80 | public function commit() : bool | 
| 81 | 81 |      { | 
| @@ -199,7 +199,7 @@ discard block | ||
| 199 | 199 | } | 
| 200 | 200 | return $new; | 
| 201 | 201 | }) | 
| 202 | - as $relation | |
| 202 | + as $relation | |
| 203 | 203 |              ) { | 
| 204 | 204 | $relations[$relation['CONSTRAINT_NAME']]['table'] = $relation['TABLE_NAME']; | 
| 205 | 205 | $relations[$relation['CONSTRAINT_NAME']]['keymap'][$primary[(int)$relation['POSITION']-1]] = $relation['COLUMN_NAME']; | 
| @@ -22,7 +22,7 @@ | ||
| 22 | 22 | parse_str($temp[1], $connection['opts']); | 
| 23 | 23 | $connection['name'] = $temp[0]; | 
| 24 | 24 |          if (!is_file($connection['name']) && is_file('/'.$connection['name'])) { | 
| 25 | - $connection['name'] = '/'.$connection['name']; | |
| 25 | + $connection['name'] = '/'.$connection['name']; | |
| 26 | 26 | } | 
| 27 | 27 | $this->connection = $connection; | 
| 28 | 28 | } |