beautify et ajout export type connection
This commit is contained in:
@@ -217,9 +217,14 @@ class Connection
|
||||
{
|
||||
return $this->error;
|
||||
}
|
||||
|
||||
|
||||
public function getPdo()
|
||||
{
|
||||
return $this->pdo;
|
||||
}
|
||||
|
||||
public function getDriverType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ class Model
|
||||
}
|
||||
|
||||
public function find(mixed $key): mixed
|
||||
{
|
||||
{
|
||||
$qb = $this->newQueryBuilder();
|
||||
$find = $qb->find($key);
|
||||
if ($find !== null) {
|
||||
|
||||
Reference in New Issue
Block a user