summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-02-23 12:19:52 +0100
committerLukas Reschke <lukas@owncloud.com>2015-02-23 12:19:52 +0100
commitc06a94ecc2e3bc32b646cb8fd02278f94b7e560a (patch)
tree36a91cbdf87d5d702c0488d5593a2e0a20b49bcc
parentf693d439e24c1d59c0de2347d6c9888c852cfafe (diff)
downloadnextcloud-server-c06a94ecc2e3bc32b646cb8fd02278f94b7e560a.tar.gz
nextcloud-server-c06a94ecc2e3bc32b646cb8fd02278f94b7e560a.zip
Fix some PHPDocs
-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 68d52d759e0..c0c47cf4644 100644
--- a/lib/private/appframework/utility/simplecontainer.php
+++ b/lib/private/appframework/utility/simplecontainer.php
@@ -33,8 +33,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();
@@ -63,6 +63,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) {
@@ -84,7 +85,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)) {