Skip to content

Commit 08fab17

Browse files
Add comment
1 parent 1af9f78 commit 08fab17

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Rules/Methods/MethodPrototypeFinder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public function __construct(
2929
* Returns two prototypes with different purposes:
3030
* - Signature prototype: Used for validating method signature (parameters, return type, ...).
3131
* - Inheritance prototype: Used for validating inheritance rules (final keyword, override attribute, ...).
32+
* Also, return a bool to precise if the visibility of the prototype needs to be respected.
3233
*
3334
* @return array{ExtendedMethodReflection, ClassReflection, bool, ExtendedMethodReflection, ClassReflection}|null
3435
*/

0 commit comments

Comments
 (0)