@@ -37,7 +37,7 @@ |
||
37 | 37 | private $parameters = []; |
38 | 38 | |
39 | 39 | /** |
40 | - * @param object $object an object or classname |
|
40 | + * @param \OCP\AppFramework\Controller $object an object or classname |
|
41 | 41 | * @param string $method the method which we want to inspect |
42 | 42 | */ |
43 | 43 | public function reflect($object, $method){ |
@@ -25,7 +25,6 @@ |
||
25 | 25 | use OC\Security\RateLimiting\Exception\RateLimitExceededException; |
26 | 26 | use OC\Security\RateLimiting\Limiter; |
27 | 27 | use OCP\AppFramework\Http\JSONResponse; |
28 | -use OCP\AppFramework\Http\Response; |
|
29 | 28 | use OCP\AppFramework\Http\TemplateResponse; |
30 | 29 | use OCP\AppFramework\Middleware; |
31 | 30 | use OCP\IRequest; |