aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/LDAP.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/lib/LDAP.php')
-rw-r--r--apps/user_ldap/lib/LDAP.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/user_ldap/lib/LDAP.php b/apps/user_ldap/lib/LDAP.php
index 5e801dec720..44d8493b925 100644
--- a/apps/user_ldap/lib/LDAP.php
+++ b/apps/user_ldap/lib/LDAP.php
@@ -16,15 +16,14 @@ use OCP\Server;
use Psr\Log\LoggerInterface;
class LDAP implements ILDAPWrapper {
- protected string $logFile = '';
protected array $curArgs = [];
protected LoggerInterface $logger;
private ?LdapDataCollector $dataCollector = null;
- public function __construct(string $logFile = '') {
- $this->logFile = $logFile;
-
+ public function __construct(
+ protected string $logFile = '',
+ ) {
/** @var IProfiler $profiler */
$profiler = \OC::$server->get(IProfiler::class);
if ($profiler->isEnabled()) {