Skip to content

Commit ce2fb01

Browse files
committed
Adjustments for minimal PHP version
1 parent 451ed69 commit ce2fb01

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

src/TokenParser/BreakNode.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77

88
class BreakNode extends Node
99
{
10-
private int $loopNumber = 1;
10+
/**
11+
* @var int
12+
*/
13+
private $loopNumber = 1;
1114

1215
public function __construct(int $loopNumber, int $lineno, string $tag)
1316
{

src/TokenParser/ContinueNode.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77

88
class ContinueNode extends Node
99
{
10-
private int $loopNumber = 1;
10+
/**
11+
* @var int
12+
*/
13+
private $loopNumber = 1;
1114

1215
public function __construct(int $loopNumber, int $lineno, string $tag)
1316
{

vendor-bin/phpunit/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"require": {
3-
"phpunit/phpunit": "^9.0"
3+
"phpunit/phpunit": "^8.0|^9.0"
44
}
55
}

0 commit comments

Comments
 (0)