diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-23 11:42:03 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-23 11:42:03 +0200 |
commit | ee649d58c5f82ee209ddc1812c1a896da53de707 (patch) | |
tree | 35d420a5f5c3bbae1f0a0e53a87485a55622c8b3 /lib | |
parent | 0c283dc02052dae0e50ed40d7ac084f045caab59 (diff) | |
parent | 56a795ad37dec826bcbd195b3bc5da200371092a (diff) | |
download | nextcloud-server-ee649d58c5f82ee209ddc1812c1a896da53de707.tar.gz nextcloud-server-ee649d58c5f82ee209ddc1812c1a896da53de707.zip |
Merge pull request #19289 from owncloud/fix-type-hint-errors-container
Fix type hint errors in the container and the interface
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/appframework/utility/simplecontainer.php | 4 | ||||
-rw-r--r-- | lib/public/icontainer.php | 1 |
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; /** |