declared class properties
This commit is contained in:
@@ -8,6 +8,9 @@ use OCA\NCDownloader\Db\Helper as DbHelper;
|
||||
class Counters
|
||||
{
|
||||
private $minmax = [0, 999];
|
||||
private $aria2;
|
||||
private $dbconn;
|
||||
private $uid;
|
||||
|
||||
public function __construct(Aria2 $aria2, DbHelper $dbconn, $uid)
|
||||
{
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user