| @@ -35,39 +35,39 @@ | ||
| 35 | 35 | */ | 
| 36 | 36 |  interface IControllerMethodReflector { | 
| 37 | 37 | |
| 38 | - /** | |
| 39 | - * @param object $object an object or classname | |
| 40 | - * @param string $method the method which we want to inspect | |
| 41 | - * @return void | |
| 42 | - * @since 8.0.0 | |
| 43 | - * @deprecated 17.0.0 Reflect should not be called multiple times and only be used internally. This will be removed in Nextcloud 18 | |
| 44 | - */ | |
| 45 | - public function reflect($object, string $method); | |
| 38 | + /** | |
| 39 | + * @param object $object an object or classname | |
| 40 | + * @param string $method the method which we want to inspect | |
| 41 | + * @return void | |
| 42 | + * @since 8.0.0 | |
| 43 | + * @deprecated 17.0.0 Reflect should not be called multiple times and only be used internally. This will be removed in Nextcloud 18 | |
| 44 | + */ | |
| 45 | + public function reflect($object, string $method); | |
| 46 | 46 | |
| 47 | - /** | |
| 48 | - * Inspects the PHPDoc parameters for types | |
| 49 | - * | |
| 50 | - * @param string $parameter the parameter whose type comments should be | |
| 51 | - * parsed | |
| 52 | - * @return string|null type in the type parameters (@param int $something) | |
| 53 | - * would return int or null if not existing | |
| 54 | - * @since 8.0.0 | |
| 55 | - */ | |
| 56 | - public function getType(string $parameter); | |
| 47 | + /** | |
| 48 | + * Inspects the PHPDoc parameters for types | |
| 49 | + * | |
| 50 | + * @param string $parameter the parameter whose type comments should be | |
| 51 | + * parsed | |
| 52 | + * @return string|null type in the type parameters (@param int $something) | |
| 53 | + * would return int or null if not existing | |
| 54 | + * @since 8.0.0 | |
| 55 | + */ | |
| 56 | + public function getType(string $parameter); | |
| 57 | 57 | |
| 58 | - /** | |
| 59 | - * @return array the arguments of the method with key => default value | |
| 60 | - * @since 8.0.0 | |
| 61 | - */ | |
| 62 | - public function getParameters(): array; | |
| 58 | + /** | |
| 59 | + * @return array the arguments of the method with key => default value | |
| 60 | + * @since 8.0.0 | |
| 61 | + */ | |
| 62 | + public function getParameters(): array; | |
| 63 | 63 | |
| 64 | - /** | |
| 65 | - * Check if a method contains an annotation | |
| 66 | - * | |
| 67 | - * @param string $name the name of the annotation | |
| 68 | - * @return bool true if the annotation is found | |
| 69 | - * @since 8.0.0 | |
| 70 | - */ | |
| 71 | - public function hasAnnotation(string $name): bool; | |
| 64 | + /** | |
| 65 | + * Check if a method contains an annotation | |
| 66 | + * | |
| 67 | + * @param string $name the name of the annotation | |
| 68 | + * @return bool true if the annotation is found | |
| 69 | + * @since 8.0.0 | |
| 70 | + */ | |
| 71 | + public function hasAnnotation(string $name): bool; | |
| 72 | 72 | |
| 73 | 73 | } |