This commit is contained in:
Philipp 2023-05-14 11:18:59 +02:00
parent a74c0e86c9
commit 8c2678c82f
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
3 changed files with 13 additions and 10 deletions

View file

@ -58,7 +58,7 @@ class DBStructure
}
/**
* Dops a specific table
* Drops a specific table
*
* @param string $table the table name
*

View file

@ -45,9 +45,8 @@ class DatabaseException extends Exception
*/
public function __construct(string $message, int $code, string $query, Throwable $previous = null)
{
$this->query = $query;
parent::__construct(sprintf('"%s" at "%s"', $message, $query) , $code, $previous);
$this->query = $query;
}
/**