Passed
Push — master ( bdb152...365819 )
by Christoph
17:37 queued 11s
created
lib/public/AppFramework/Utility/IControllerMethodReflector.php 1 patch
Indentation   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -38,42 +38,42 @@
 block discarded – undo
38 38
  */
39 39
 interface IControllerMethodReflector {
40 40
 
41
-	/**
42
-	 * @param object $object an object or classname
43
-	 * @param string $method the method which we want to inspect
44
-	 * @return void
45
-	 * @since 8.0.0
46
-	 * @deprecated 17.0.0 Reflect should not be called multiple times and only be used internally. This will be removed in Nextcloud 18
47
-	 */
48
-	public function reflect($object, string $method);
41
+    /**
42
+     * @param object $object an object or classname
43
+     * @param string $method the method which we want to inspect
44
+     * @return void
45
+     * @since 8.0.0
46
+     * @deprecated 17.0.0 Reflect should not be called multiple times and only be used internally. This will be removed in Nextcloud 18
47
+     */
48
+    public function reflect($object, string $method);
49 49
 
50
-	/**
51
-	 * Inspects the PHPDoc parameters for types
52
-	 *
53
-	 * @param string $parameter the parameter whose type comments should be
54
-	 * parsed
55
-	 * @return string|null type in the type parameters (@param int $something)
56
-	 * would return int or null if not existing
57
-	 * @since 8.0.0
58
-	 * @deprecated 22.0.0 this method is only used internally
59
-	 */
60
-	public function getType(string $parameter);
50
+    /**
51
+     * Inspects the PHPDoc parameters for types
52
+     *
53
+     * @param string $parameter the parameter whose type comments should be
54
+     * parsed
55
+     * @return string|null type in the type parameters (@param int $something)
56
+     * would return int or null if not existing
57
+     * @since 8.0.0
58
+     * @deprecated 22.0.0 this method is only used internally
59
+     */
60
+    public function getType(string $parameter);
61 61
 
62
-	/**
63
-	 * @return array the arguments of the method with key => default value
64
-	 * @since 8.0.0
65
-	 * @deprecated 22.0.0 this method is only used internally
66
-	 */
67
-	public function getParameters(): array;
62
+    /**
63
+     * @return array the arguments of the method with key => default value
64
+     * @since 8.0.0
65
+     * @deprecated 22.0.0 this method is only used internally
66
+     */
67
+    public function getParameters(): array;
68 68
 
69
-	/**
70
-	 * Check if a method contains an annotation
71
-	 *
72
-	 * @param string $name the name of the annotation
73
-	 * @return bool true if the annotation is found
74
-	 * @since 8.0.0
75
-	 * @deprecated 22.0.0 will be obsolete with native attributes in PHP8
76
-	 * @see https://help.nextcloud.com/t/how-should-we-use-php8-attributes/104278
77
-	 */
78
-	public function hasAnnotation(string $name): bool;
69
+    /**
70
+     * Check if a method contains an annotation
71
+     *
72
+     * @param string $name the name of the annotation
73
+     * @return bool true if the annotation is found
74
+     * @since 8.0.0
75
+     * @deprecated 22.0.0 will be obsolete with native attributes in PHP8
76
+     * @see https://help.nextcloud.com/t/how-should-we-use-php8-attributes/104278
77
+     */
78
+    public function hasAnnotation(string $name): bool;
79 79
 }
Please login to merge, or discard this patch.