From 76b3acf9f70d763e8ea8eb422f7dfe58c3a4fe95 Mon Sep 17 00:00:00 2001 From: kenjis Date: Sun, 18 Feb 2024 18:55:59 +0900 Subject: [PATCH] docs: remove unneeded @var --- system/bootstrap.php | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/system/bootstrap.php b/system/bootstrap.php index da0da225565a..e5ddf9d0aa32 100644 --- a/system/bootstrap.php +++ b/system/bootstrap.php @@ -26,11 +26,10 @@ * so they are available in the config files that are loaded. */ +/** @var Paths $paths */ + // The path to the application directory. if (! defined('APPPATH')) { - /** - * @var Paths $paths - */ define('APPPATH', realpath(rtrim($paths->appDirectory, '\\/ ')) . DIRECTORY_SEPARATOR); } @@ -41,25 +40,16 @@ // The path to the system directory. if (! defined('SYSTEMPATH')) { - /** - * @var Paths $paths - */ define('SYSTEMPATH', realpath(rtrim($paths->systemDirectory, '\\/ ')) . DIRECTORY_SEPARATOR); } // The path to the writable directory. if (! defined('WRITEPATH')) { - /** - * @var Paths $paths - */ define('WRITEPATH', realpath(rtrim($paths->writableDirectory, '\\/ ')) . DIRECTORY_SEPARATOR); } // The path to the tests directory if (! defined('TESTPATH')) { - /** - * @var Paths $paths - */ define('TESTPATH', realpath(rtrim($paths->testsDirectory, '\\/ ')) . DIRECTORY_SEPARATOR); }