From a7c8d26d31cb1cf69e0e060c53622e545fcfbbb3 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Fri, 10 Apr 2020 16:48:31 +0200 Subject: Add visibility to all properties and move static keyword Signed-off-by: Christoph Wurst --- apps/user_ldap/lib/Jobs/UpdateGroups.php | 4 ++-- apps/user_ldap/lib/Proxy.php | 2 +- apps/user_ldap/lib/Wizard.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/user_ldap') diff --git a/apps/user_ldap/lib/Jobs/UpdateGroups.php b/apps/user_ldap/lib/Jobs/UpdateGroups.php index 19981a69bd2..810d88b3ccc 100644 --- a/apps/user_ldap/lib/Jobs/UpdateGroups.php +++ b/apps/user_ldap/lib/Jobs/UpdateGroups.php @@ -46,9 +46,9 @@ use OCA\User_LDAP\User\Manager; use OCP\ILogger; class UpdateGroups extends \OC\BackgroundJob\TimedJob { - static private $groupsFromDB; + private static $groupsFromDB; - static private $groupBE; + private static $groupBE; public function __construct() { $this->interval = self::getRefreshInterval(); diff --git a/apps/user_ldap/lib/Proxy.php b/apps/user_ldap/lib/Proxy.php index 7698895eaf0..3cf55f8cd58 100644 --- a/apps/user_ldap/lib/Proxy.php +++ b/apps/user_ldap/lib/Proxy.php @@ -38,7 +38,7 @@ use OCA\User_LDAP\Mapping\UserMapping; use OCA\User_LDAP\User\Manager; abstract class Proxy { - static private $accesses = []; + private static $accesses = []; private $ldap = null; /** @var \OCP\ICache|null */ diff --git a/apps/user_ldap/lib/Wizard.php b/apps/user_ldap/lib/Wizard.php index 01a9e19076d..b0b9374fdf6 100644 --- a/apps/user_ldap/lib/Wizard.php +++ b/apps/user_ldap/lib/Wizard.php @@ -43,7 +43,7 @@ use OCP\ILogger; class Wizard extends LDAPUtility { /** @var \OCP\IL10N */ - static protected $l; + protected static $l; protected $access; protected $cr; protected $configuration; -- cgit v1.2.3