mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-01-17 15:18:17 +01:00
dd63ddbc24
The formatting in this project has become something of a mess, because it changed over time. Add a CS fixer config and reformat to the desired style, which is PSR-12, but with sane brace placement.
17 lines
502 B
PHP
17 lines
502 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace PhpParser\Node;
|
|
|
|
/**
|
|
* Represents a name that is written in source code with a leading dollar,
|
|
* but is not a proper variable. The leading dollar is not stored as part of the name.
|
|
*
|
|
* Examples: Names in property declarations are formatted as variables. Names in static property
|
|
* lookups are also formatted as variables.
|
|
*/
|
|
class VarLikeIdentifier extends Identifier {
|
|
public function getType(): string {
|
|
return 'VarLikeIdentifier';
|
|
}
|
|
}
|