All the other method modifiers in stubs follow the guidelines of PSR-12, so let's use it in case of PhpToken::__construct() as well.
/** @return static[] */
public static function getAll(string $code, int $flags = 0): array {}
- public final function __construct(int $id, string $text, int $line = -1, int $pos = -1) {}
+ final public function __construct(int $id, string $text, int $line = -1, int $pos = -1) {}
/** @param int|string|array $kind */
public function is($kind): bool {}
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 4591855b4c387a2868d5287b28c5050bf828c79f */
+ * Stub hash: d8e8b4d749c2960b33fd20b27a1abf033604d4e2 */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_token_get_all, 0, 1, IS_ARRAY, 0)
ZEND_ARG_TYPE_INFO(0, source, IS_STRING, 0)