declared class properties

This commit is contained in:
benson
2023-04-29 21:15:52 +08:00
parent 13fd802180
commit a197f66d6d
16 changed files with 65 additions and 14 deletions

View File

@@ -11,6 +11,8 @@ class folderScan
private $user;
private $path;
private $realDir;
private $logger;
private $scanner;
public function __construct($path = null, $user = null)
{
$this->user = $user ?? Helper::getUID();