diff --git a/.gitignore b/.gitignore index a22d218..434a519 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /node_modules -/.vscode \ No newline at end of file +/.vscode +.idea diff --git a/build/database/core/Repo_i.php b/build/database/core/Repo_i.php index 465d1ea..5b9aad5 100644 --- a/build/database/core/Repo_i.php +++ b/build/database/core/Repo_i.php @@ -4,9 +4,12 @@ class Repo_i{ + /** + * @var \PDO + */ protected $pdo = null; - public function setPDO($pdo){ + public function setPDO( \PDO $pdo){ $this->pdo = $pdo; diff --git a/public_html/index.php b/public_html/index.php index e956358..2c46efa 100755 --- a/public_html/index.php +++ b/public_html/index.php @@ -17,5 +17,5 @@ Request::setAuthSystem(new AuthSystemDefault); /* (4) launch router */ - $MainRouter = Router::launch($_GET['url']); + Router::launch($_GET['url']);