aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/App
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:51:06 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:51:06 +0200
commit1584c9ae9c23d2a7915750ef9203cba0bcebf766 (patch)
tree568db931f631afd6e96772cf2b3ac539c989ec42 /lib/private/App
parenta7c8d26d31cb1cf69e0e060c53622e545fcfbbb3 (diff)
downloadnextcloud-server-1584c9ae9c23d2a7915750ef9203cba0bcebf766.tar.gz
nextcloud-server-1584c9ae9c23d2a7915750ef9203cba0bcebf766.zip
Add visibility to all methods and position of static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/App')
-rw-r--r--lib/private/App/AppStore/Bundles/Bundle.php6
-rw-r--r--lib/private/App/Platform.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/App/AppStore/Bundles/Bundle.php b/lib/private/App/AppStore/Bundles/Bundle.php
index d6b74ff3b6b..16458121b36 100644
--- a/lib/private/App/AppStore/Bundles/Bundle.php
+++ b/lib/private/App/AppStore/Bundles/Bundle.php
@@ -41,7 +41,7 @@ abstract class Bundle {
*
* @return string
*/
- public final function getIdentifier() {
+ final public function getIdentifier() {
return substr(strrchr(get_class($this), '\\'), 1);
}
@@ -50,12 +50,12 @@ abstract class Bundle {
*
* @return string
*/
- public abstract function getName();
+ abstract public function getName();
/**
* Get the list of app identifiers in the bundle
*
* @return array
*/
- public abstract function getAppIdentifiers();
+ abstract public function getAppIdentifiers();
}
diff --git a/lib/private/App/Platform.php b/lib/private/App/Platform.php
index 45b00c20219..f03e241e9a0 100644
--- a/lib/private/App/Platform.php
+++ b/lib/private/App/Platform.php
@@ -38,7 +38,7 @@ class Platform {
/**
* @param IConfig $config
*/
- function __construct(IConfig $config) {
+ public function __construct(IConfig $config) {
$this->config = $config;
}