@@ -40,8 +40,8 @@ |
||
| 40 | 40 | */ |
| 41 | 41 | public function __construct() |
| 42 | 42 | { |
| 43 | - defined('PATH_ROOT') ? : define('PATH_ROOT', realpath($_SERVER['DOCUMENT_ROOT'])); |
|
| 44 | - defined('DS') ? : define('DS', DIRECTORY_SEPARATOR); |
|
| 43 | + defined('PATH_ROOT') ?: define('PATH_ROOT', realpath($_SERVER['DOCUMENT_ROOT'])); |
|
| 44 | + defined('DS') ?: define('DS', DIRECTORY_SEPARATOR); |
|
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | /** |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | |
| 145 | 145 | /** |
| 146 | 146 | * It recursively copies the files and directories |
| 147 | - * @return bool |
|
| 147 | + * @return boolean|null |
|
| 148 | 148 | */ |
| 149 | 149 | protected function copy() |
| 150 | 150 | { |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | |
| 157 | 157 | /** |
| 158 | 158 | * It recursively copies the files and directories |
| 159 | - * @param $directory |
|
| 159 | + * @param string $directory |
|
| 160 | 160 | * @return bool |
| 161 | 161 | */ |
| 162 | 162 | protected function copyRecursive($directory) |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | |
| 215 | 215 | /** |
| 216 | 216 | * It recursively removes the files and directories |
| 217 | - * @return bool |
|
| 217 | + * @return boolean|null |
|
| 218 | 218 | */ |
| 219 | 219 | protected function remove() |
| 220 | 220 | { |
@@ -226,7 +226,7 @@ discard block |
||
| 226 | 226 | |
| 227 | 227 | /** |
| 228 | 228 | * It recursively removes the files and directories |
| 229 | - * @param $directory |
|
| 229 | + * @param string $directory |
|
| 230 | 230 | * @return bool |
| 231 | 231 | */ |
| 232 | 232 | protected function removeRecursive($directory) |