@ -19,7 +19,7 @@ class ConnectionManager {
$stmt = self::$connection->prepare($query);
$stmt->execute($params);
$stmt->setFetchMode(PDO::FETCH_INTO, $output);
$stmt->setFetchMode(PDO::FETCH_INTO, new $output());
return $stmt->fetch();
}