| Conditions | 3 |
| Paths | 3 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public static function getPropertyVisibility(Node\Stmt\Property $property): int |
||
| 29 | { |
||
| 30 | if ($property->isPrivate()) { |
||
| 31 | return VisibilityInterface::PRIVATE; |
||
| 32 | } |
||
| 33 | if ($property->isProtected()) { |
||
| 34 | return VisibilityInterface::PROTECTED; |
||
| 35 | } |
||
| 36 | return VisibilityInterface::PUBLIC; |
||
| 37 | } |
||
| 39 |