private function getTokenType($token) { if ($token['code'] === T_OPEN_PARENTHESIS) { return 'method'; } return 'property'; }