Skip to content
Snippets Groups Projects
Commit 81760321 authored by Bernhard Posselt's avatar Bernhard Posselt
Browse files

Merge pull request #14427 from owncloud/fix-some-php-docs

Fix some PHPDocs
parents df3c73de c06a94ec
No related branches found
No related tags found
No related merge requests found
......@@ -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)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment