summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-19 00:26:17 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-19 00:26:17 +0200
commit96a5b65484705fc611847f9161b677b5d0282083 (patch)
tree2a0b922e55ababee6fc0a2a6a33e2c68a27bb602 /lib/public
parentcdf82909b8225a885fbf92b78208fb1fe258853e (diff)
downloadnextcloud-server-96a5b65484705fc611847f9161b677b5d0282083.tar.gz
nextcloud-server-96a5b65484705fc611847f9161b677b5d0282083.zip
Fix visibility of interfaces in \OCP
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/iavatar.php6
-rw-r--r--lib/public/iavatarmanager.php2
-rw-r--r--lib/public/icontainer.php6
-rw-r--r--lib/public/ilogger.php18
-rw-r--r--lib/public/irequest.php4
5 files changed, 18 insertions, 18 deletions
diff --git a/lib/public/iavatar.php b/lib/public/iavatar.php
index 6bf2ce1f19b..fc29212a599 100644
--- a/lib/public/iavatar.php
+++ b/lib/public/iavatar.php
@@ -37,7 +37,7 @@ interface IAvatar {
* @return boolean|\OCP\IImage containing the avatar or false if there's no image
* @since 6.0.0
*/
- function get($size = 64);
+ public function get($size = 64);
/**
* Check if an avatar exists for the user
@@ -56,12 +56,12 @@ interface IAvatar {
* @return void
* @since 6.0.0
*/
- function set($data);
+ public function set($data);
/**
* remove the users avatar
* @return void
* @since 6.0.0
*/
- function remove();
+ public function remove();
}
diff --git a/lib/public/iavatarmanager.php b/lib/public/iavatarmanager.php
index 583b7f0afca..5ad5bf6a364 100644
--- a/lib/public/iavatarmanager.php
+++ b/lib/public/iavatarmanager.php
@@ -38,5 +38,5 @@ interface IAvatarManager {
* @return \OCP\IAvatar
* @since 6.0.0
*/
- function getAvatar($user);
+ public function getAvatar($user);
}
diff --git a/lib/public/icontainer.php b/lib/public/icontainer.php
index 27ca544ec67..35bf6a76ce8 100644
--- a/lib/public/icontainer.php
+++ b/lib/public/icontainer.php
@@ -47,7 +47,7 @@ interface IContainer {
* @return mixed
* @since 6.0.0
*/
- function query($name);
+ public function query($name);
/**
* A value is stored in the container with it's corresponding name
@@ -57,7 +57,7 @@ interface IContainer {
* @return void
* @since 6.0.0
*/
- function registerParameter($name, $value);
+ public function registerParameter($name, $value);
/**
* A service is registered in the container where a closure is passed in which will actually
@@ -72,5 +72,5 @@ interface IContainer {
* @return void
* @since 6.0.0
*/
- function registerService($name, \Closure $closure, $shared = true);
+ public function registerService($name, \Closure $closure, $shared = true);
}
diff --git a/lib/public/ilogger.php b/lib/public/ilogger.php
index c36d9ff285c..43b1ef70e5b 100644
--- a/lib/public/ilogger.php
+++ b/lib/public/ilogger.php
@@ -39,7 +39,7 @@ interface ILogger {
* @return null
* @since 7.0.0
*/
- function emergency($message, array $context = array());
+ public function emergency($message, array $context = array());
/**
* Action must be taken immediately.
@@ -49,7 +49,7 @@ interface ILogger {
* @return null
* @since 7.0.0
*/
- function alert($message, array $context = array());
+ public function alert($message, array $context = array());
/**
* Critical conditions.
@@ -59,7 +59,7 @@ interface ILogger {
* @return null
* @since 7.0.0
*/
- function critical($message, array $context = array());
+ public function critical($message, array $context = array());
/**
* Runtime errors that do not require immediate action but should typically
@@ -70,7 +70,7 @@ interface ILogger {
* @return null
* @since 7.0.0
*/
- function error($message, array $context = array());
+ public function error($message, array $context = array());
/**
* Exceptional occurrences that are not errors.
@@ -80,7 +80,7 @@ interface ILogger {
* @return null
* @since 7.0.0
*/
- function warning($message, array $context = array());
+ public function warning($message, array $context = array());
/**
* Normal but significant events.
@@ -90,7 +90,7 @@ interface ILogger {
* @return null
* @since 7.0.0
*/
- function notice($message, array $context = array());
+ public function notice($message, array $context = array());
/**
* Interesting events.
@@ -100,7 +100,7 @@ interface ILogger {
* @return null
* @since 7.0.0
*/
- function info($message, array $context = array());
+ public function info($message, array $context = array());
/**
* Detailed debug information.
@@ -110,7 +110,7 @@ interface ILogger {
* @return null
* @since 7.0.0
*/
- function debug($message, array $context = array());
+ public function debug($message, array $context = array());
/**
* Logs with an arbitrary level.
@@ -121,5 +121,5 @@ interface ILogger {
* @return mixed
* @since 7.0.0
*/
- function log($level, $message, array $context = array());
+ public function log($level, $message, array $context = array());
}
diff --git a/lib/public/irequest.php b/lib/public/irequest.php
index a236c5df9a0..20fa543dd69 100644
--- a/lib/public/irequest.php
+++ b/lib/public/irequest.php
@@ -68,7 +68,7 @@ interface IRequest {
* @return string
* @since 6.0.0
*/
- function getHeader($name);
+ public function getHeader($name);
/**
* Lets you access post and get parameters by the index
@@ -131,7 +131,7 @@ interface IRequest {
* @return array the value in the $_COOKIE element
* @since 6.0.0
*/
- function getCookie($key);
+ public function getCookie($key);
/**