@@ -23,7 +23,7 @@ |
||
| 23 | 23 | * @param mixed $setting Can be an array, a string, |
| 24 | 24 | * or a special formatted string |
| 25 | 25 | * (eg 'app|path|project'). |
| 26 | - * @param mixed $defaultValue |
|
| 26 | + * @param boolean $defaultValue |
|
| 27 | 27 | * @return mixed |
| 28 | 28 | */ |
| 29 | 29 | final public static function get($storage = [], $setting = null, $defaultValue = false) |
@@ -61,8 +61,6 @@ |
||
| 61 | 61 | * |
| 62 | 62 | * Data is appended to any existing data. |
| 63 | 63 | * @param string $setting Name of setting to load. |
| 64 | - * @param string $path Directory where the file is located. |
|
| 65 | - * File name must be <$setting>.php |
|
| 66 | 64 | * @return mixed |
| 67 | 65 | */ |
| 68 | 66 | final public function load($setting, $pathProject) |
@@ -200,6 +200,9 @@ |
||
| 200 | 200 | return trim($string, ' /'); |
| 201 | 201 | } |
| 202 | 202 | |
| 203 | + /** |
|
| 204 | + * @param string $string |
|
| 205 | + */ |
|
| 203 | 206 | final private function removeSuffix($string) |
| 204 | 207 | { |
| 205 | 208 | $suffixes = $this->setting('suffixes'); |
@@ -27,6 +27,9 @@ |
||
| 27 | 27 | return [$controller, $action, $args]; |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | + /** |
|
| 31 | + * @return string |
|
| 32 | + */ |
|
| 30 | 33 | final private function parseCustomRoutes($requestCustom, $routes) |
| 31 | 34 | { |
| 32 | 35 | if (is_array($routes)) { |