diff --git a/src/Libs/ModelMySQL.php b/src/Libs/ModelMySQL.php index 975d955..90fae24 100644 --- a/src/Libs/ModelMySQL.php +++ b/src/Libs/ModelMySQL.php @@ -160,7 +160,7 @@ class ModelMySQL { * @return ModelMySQL * Retorna un objeto de la clase actual. */ - public function getInstance($elem = []) { + public static function getInstance($elem = []) { $class = get_called_class(); $instace = new $class;