PluginProbe
Elementor Website Builder – more than just a page builder / 3.29.0-beta4
Elementor Website Builder – more than just a page builder v3.29.0-beta4
4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 All 457 releases
← All changes | vendor_prefixed/twig/symfony/polyfill-php80/PhpToken.php +2 -5 4.3.4 → 3.29.0-beta4 View file →
@@ -25,9 +25,9 @@
25 25 * @var string
26 26 */
27 27 public $text;
28 28 /**
29 - * @var -1|positive-int
29 + * @var int
30 30 */
31 31 public $line;
32 32 /**
33 33 * @var int
@@ -32,11 +32,8 @@
32 32 /**
33 33 * @var int
34 34 */
35 35 public $pos;
36 - /**
37 - * @param -1|positive-int $line
38 - */
39 36 public function __construct(int $id, string $text, int $line = -1, int $position = -1)
40 37 {
41 38 $this->id = $id;
42 39 $this->text = $text;
@@ -70,9 +67,9 @@
70 67 {
71 68 return (string) $this->text;
72 69 }
73 70 /**
74 - * @return list<static>
71 + * @return static[]
75 72 */
76 73 public static function tokenize(string $code, int $flags = 0) : array
77 74 {
78 75 $line = 1;