Skip to content

Commit 21cf736

Browse files
committed
config: update starter/app/Config/Paths.php
1 parent 52dbc9b commit 21cf736

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

admin/starter/app/Config/Paths.php

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ class Paths
2222
*
2323
* This must contain the name of your "system" folder. Include
2424
* the path if the folder is not in the same directory as this file.
25-
*
26-
* @var string
2725
*/
28-
public $systemDirectory = __DIR__ . '/../../vendor/codeigniter4/framework/system';
26+
public string $systemDirectory = __DIR__ . '/../../vendor/codeigniter4/framework/system';
2927

3028
/**
3129
* ---------------------------------------------------------------
@@ -38,10 +36,8 @@ class Paths
3836
* you do, use a full server path.
3937
*
4038
* @see http://codeigniter.com/user_guide/general/managing_apps.html
41-
*
42-
* @var string
4339
*/
44-
public $appDirectory = __DIR__ . '/..';
40+
public string $appDirectory = __DIR__ . '/..';
4541

4642
/**
4743
* ---------------------------------------------------------------
@@ -53,21 +49,17 @@ class Paths
5349
* need write permission to a single place that can be tucked away
5450
* for maximum security, keeping it out of the app and/or
5551
* system directories.
56-
*
57-
* @var string
5852
*/
59-
public $writableDirectory = __DIR__ . '/../../writable';
53+
public string $writableDirectory = __DIR__ . '/../../writable';
6054

6155
/**
6256
* ---------------------------------------------------------------
6357
* TESTS DIRECTORY NAME
6458
* ---------------------------------------------------------------
6559
*
6660
* This variable must contain the name of your "tests" directory.
67-
*
68-
* @var string
6961
*/
70-
public $testsDirectory = __DIR__ . '/../../tests';
62+
public string $testsDirectory = __DIR__ . '/../../tests';
7163

7264
/**
7365
* ---------------------------------------------------------------
@@ -78,8 +70,6 @@ class Paths
7870
* contains the view files used by your application. By
7971
* default this is in `app/Views`. This value
8072
* is used when no value is provided to `Services::renderer()`.
81-
*
82-
* @var string
8373
*/
84-
public $viewDirectory = __DIR__ . '/../Views';
74+
public string $viewDirectory = __DIR__ . '/../Views';
8575
}

0 commit comments

Comments
 (0)