diff --git a/src/Libs/ModelMySQL.php b/src/Libs/ModelMySQL.php index d3dd0fc..2d06382 100644 --- a/src/Libs/ModelMySQL.php +++ b/src/Libs/ModelMySQL.php @@ -162,13 +162,13 @@ class ModelMySQL { */ public static function getInstance($elem = []) { $class = get_called_class(); - $instace = new $class; + $instance = new $class; foreach ($elem as $key => $value) { - $instace->$key = $value; + $instance->$key = $value; } - return $instace; + return $instance; } /*