diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-04-20 14:39:15 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-04-20 14:39:15 +0200 |
commit | ce2c8533d9819e1ec9272bcdc06dcf4fa6b0678c (patch) | |
tree | 1279321434d3f0a725ea2f3550623f08d580687a /lib/private/appframework | |
parent | 3959f8ac4e979f9c1fcaef3d18deb0c7c858f560 (diff) | |
parent | 6da9e1a7420bfeb411848c95ba8c307e6a07b231 (diff) | |
download | nextcloud-server-ce2c8533d9819e1ec9272bcdc06dcf4fa6b0678c.tar.gz nextcloud-server-ce2c8533d9819e1ec9272bcdc06dcf4fa6b0678c.zip |
Merge pull request #15735 from owncloud/fix-visibility
Fix visibility of interfaces in \OCP
Diffstat (limited to 'lib/private/appframework')
-rw-r--r-- | lib/private/appframework/http/request.php | 2 | ||||
-rw-r--r-- | lib/private/appframework/utility/simplecontainer.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/appframework/http/request.php b/lib/private/appframework/http/request.php index eb2a118a0f6..2455209cdf3 100644 --- a/lib/private/appframework/http/request.php +++ b/lib/private/appframework/http/request.php @@ -359,7 +359,7 @@ class Request implements \ArrayAccess, \Countable, IRequest { * @param string $key the key that will be taken from the $_COOKIE array * @return array the value in the $_COOKIE element */ - function getCookie($key) { + public function getCookie($key) { return isset($this->cookies[$key]) ? $this->cookies[$key] : null; } diff --git a/lib/private/appframework/utility/simplecontainer.php b/lib/private/appframework/utility/simplecontainer.php index 9e80f89e458..c7dff6f4571 100644 --- a/lib/private/appframework/utility/simplecontainer.php +++ b/lib/private/appframework/utility/simplecontainer.php @@ -106,7 +106,7 @@ class SimpleContainer extends \Pimple\Container implements \OCP\IContainer { * @param string $name * @param mixed $value */ - function registerParameter($name, $value) { + public function registerParameter($name, $value) { $this[$name] = $value; } @@ -119,7 +119,7 @@ class SimpleContainer extends \Pimple\Container implements \OCP\IContainer { * @param \Closure $closure the closure to be called on service creation * @param bool $shared */ - function registerService($name, \Closure $closure, $shared = true) { + public function registerService($name, \Closure $closure, $shared = true) { if (isset($this[$name])) { unset($this[$name]); } |