summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/appframework/utility/simplecontainer.php4
-rw-r--r--lib/public/icontainer.php1
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/appframework/utility/simplecontainer.php b/lib/private/appframework/utility/simplecontainer.php
index 5d7ea48752b..3de6d9ba5bc 100644
--- a/lib/private/appframework/utility/simplecontainer.php
+++ b/lib/private/appframework/utility/simplecontainer.php
@@ -45,7 +45,7 @@ class SimpleContainer extends Container implements IContainer {
/**
* @param ReflectionClass $class the class to instantiate
- * @return stdClass the created class
+ * @return \stdClass the created class
*/
private function buildClass(ReflectionClass $class) {
$constructor = $class->getConstructor();
@@ -74,7 +74,7 @@ class SimpleContainer extends Container implements 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
+ * @return \stdClass
* @throws QueryException if the class could not be found or instantiated
*/
public function resolve($name) {
diff --git a/lib/public/icontainer.php b/lib/public/icontainer.php
index ffd1d16c97e..64d5a7d8c1a 100644
--- a/lib/public/icontainer.php
+++ b/lib/public/icontainer.php
@@ -31,6 +31,7 @@
namespace OCP;
use Closure;
+use OCP\AppFramework\QueryException;
/**