1 | <?php |
||
13 | final class PropertyHelper |
||
14 | { |
||
15 | /** |
||
16 | * Determines if the given variable is a property of a class. |
||
17 | * |
||
18 | * @param PHP_CodeSniffer_File $file The php cs file |
||
19 | * @param int $variablePtr Pointer to the current variable |
||
20 | * |
||
21 | * @return bool Indicator if the current T_VARIABLE is a property of a class |
||
22 | */ |
||
23 | 26 | public static function isProperty(PHP_CodeSniffer_File $file, $variablePtr) |
|
47 | } |
||
48 |