diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-10 16:48:31 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-10 16:48:31 +0200 |
commit | a7c8d26d31cb1cf69e0e060c53622e545fcfbbb3 (patch) | |
tree | 629f395d91f3cf15497bbfd6597e6df9b081cf36 /lib/private/legacy | |
parent | 1762a409f954fd9a66e7572704ea9ba7813601b4 (diff) | |
download | nextcloud-server-a7c8d26d31cb1cf69e0e060c53622e545fcfbbb3.tar.gz nextcloud-server-a7c8d26d31cb1cf69e0e060c53622e545fcfbbb3.zip |
Add visibility to all properties and move static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/OC_App.php | 12 | ||||
-rw-r--r-- | lib/private/legacy/OC_Hook.php | 2 | ||||
-rw-r--r-- | lib/private/legacy/OC_Image.php | 1 |
3 files changed, 7 insertions, 8 deletions
diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php index 5c06f66a20a..7b67dd3eada 100644 --- a/lib/private/legacy/OC_App.php +++ b/lib/private/legacy/OC_App.php @@ -65,12 +65,12 @@ use OCP\ILogger; * upgrading and removing apps. */ class OC_App { - static private $adminForms = []; - static private $personalForms = []; - static private $appTypes = []; - static private $loadedApps = []; - static private $altLogin = []; - static private $alreadyRegistered = []; + private static $adminForms = []; + private static $personalForms = []; + private static $appTypes = []; + private static $loadedApps = []; + private static $altLogin = []; + private static $alreadyRegistered = []; const supportedApp = 300; const officialApp = 200; diff --git a/lib/private/legacy/OC_Hook.php b/lib/private/legacy/OC_Hook.php index fe08266fe5b..4e75c9da747 100644 --- a/lib/private/legacy/OC_Hook.php +++ b/lib/private/legacy/OC_Hook.php @@ -36,7 +36,7 @@ class OC_Hook { public static $thrownExceptions = []; - static private $registered = []; + private static $registered = []; /** * connects a function to a hook diff --git a/lib/private/legacy/OC_Image.php b/lib/private/legacy/OC_Image.php index b8d3d162cc8..9ef77e3d4c6 100644 --- a/lib/private/legacy/OC_Image.php +++ b/lib/private/legacy/OC_Image.php @@ -1128,7 +1128,6 @@ class OC_Image implements \OCP\IImage { * @return bool */ public function copyResize($maxSize): IImage { - } /** |