mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
This commit is contained in:
parent
4d076b802f
commit
b842960640
136 changed files with 1179 additions and 1416 deletions
7
vendor/symfony/polyfill-php80/PhpToken.php
vendored
7
vendor/symfony/polyfill-php80/PhpToken.php
vendored
|
@ -29,7 +29,7 @@ class PhpToken implements \Stringable
|
|||
public $text;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
* @var -1|positive-int
|
||||
*/
|
||||
public $line;
|
||||
|
||||
|
@ -38,6 +38,9 @@ class PhpToken implements \Stringable
|
|||
*/
|
||||
public $pos;
|
||||
|
||||
/**
|
||||
* @param -1|positive-int $line
|
||||
*/
|
||||
public function __construct(int $id, string $text, int $line = -1, int $position = -1)
|
||||
{
|
||||
$this->id = $id;
|
||||
|
@ -80,7 +83,7 @@ class PhpToken implements \Stringable
|
|||
}
|
||||
|
||||
/**
|
||||
* @return static[]
|
||||
* @return list<static>
|
||||
*/
|
||||
public static function tokenize(string $code, int $flags = 0): array
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue