| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class MethodVisibilityHelper |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Get the visibility of a method. |
||
| 21 | * |
||
| 22 | * @param Node\Stmt\ClassMethod $method The method. |
||
| 23 | * |
||
| 24 | * @return int The visibility method. |
||
| 25 | * |
||
| 26 | * @see VisibilityInterface For different constants of visibility. |
||
| 27 | */ |
||
| 28 | public static function getMethodVisibility(Node\Stmt\ClassMethod $method): int |
||
| 39 |