aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorBernhard Posselt <Raydiation@users.noreply.github.com>2015-02-23 14:04:35 +0100
committerBernhard Posselt <Raydiation@users.noreply.github.com>2015-02-23 14:04:35 +0100
commit81760321765272f638bf50487518860374ffb7f0 (patch)
tree6e854bdf71a3e1b558eb2319abfa94fac5729420 /lib/private
parentdf3c73de728c1b74156fd4d7d8d17fab230cfbb4 (diff)
parentc06a94ecc2e3bc32b646cb8fd02278f94b7e560a (diff)
downloadnextcloud-server-81760321765272f638bf50487518860374ffb7f0.tar.gz
nextcloud-server-81760321765272f638bf50487518860374ffb7f0.zip
Merge pull request #14427 from owncloud/fix-some-php-docs
Fix some PHPDocs
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/appframework/utility/simplecontainer.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/private/appframework/utility/simplecontainer.php b/lib/private/appframework/utility/simplecontainer.php
index 0179dba737d..b6e53abea4d 100644
--- a/lib/private/appframework/utility/simplecontainer.php
+++ b/lib/private/appframework/utility/simplecontainer.php
@@ -34,8 +34,8 @@ class SimpleContainer extends \Pimple\Container implements \OCP\IContainer {
/**
- * @param ReflectionClass $class the class to instantiate
- * @return stdClass the created class
+ * @param \ReflectionClass $class the class to instantiate
+ * @return \stdClass the created class
*/
private function buildClass(\ReflectionClass $class) {
$constructor = $class->getConstructor();
@@ -64,6 +64,7 @@ class SimpleContainer extends \Pimple\Container implements \OCP\IContainer {
* If a parameter is not registered in the container try to instantiate it
* by using reflection to find out how to build the class
* @param string $name the class name to resolve
+ * @return \stdClass
* @throws QueryException if the class could not be found or instantiated
*/
private function resolve($name) {
@@ -85,7 +86,7 @@ class SimpleContainer extends \Pimple\Container implements \OCP\IContainer {
/**
* @param string $name name of the service to query for
* @return mixed registered service for the given $name
- * @throws QueryExcpetion if the query could not be resolved
+ * @throws QueryException if the query could not be resolved
*/
public function query($name) {
if ($this->offsetExists($name)) {