static
This commit is contained in:
parent
46a00113d9
commit
6bcce774f8
|
@ -25,7 +25,7 @@ abstract class BaseModel {
|
||||||
protected static $sql = null;
|
protected static $sql = null;
|
||||||
|
|
||||||
public static function Get(int $id) {
|
public static function Get(int $id) {
|
||||||
self::Initialize();
|
static::Initialize();
|
||||||
return ConnectionManager::Query(
|
return ConnectionManager::Query(
|
||||||
self::$sql->Get(),
|
self::$sql->Get(),
|
||||||
[],
|
[],
|
||||||
|
|
Loading…
Reference in New Issue