Fix type hint errors in the container and the interface

This commit is contained in:
Joas Schilling 2015-09-23 10:13:41 +02:00
parent 9fbd3fa6c1
commit ee75f9f594
2 changed files with 3 additions and 2 deletions

View File

@ -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) {

View File

@ -31,6 +31,7 @@
namespace OCP;
use Closure;
use OCP\AppFramework\QueryException;
/**