Skip to content

Commit

Permalink
docs: remove unneeded @var
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Feb 18, 2024
1 parent 1d7a153 commit 76b3acf
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions system/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand All @@ -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);
}

Expand Down

0 comments on commit 76b3acf

Please sign in to comment.