Skip to content

Commit

Permalink
Adjustments for minimal PHP version
Browse files Browse the repository at this point in the history
  • Loading branch information
iquito committed Jun 10, 2020
1 parent 451ed69 commit ce2fb01
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/TokenParser/BreakNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@

class BreakNode extends Node
{
private int $loopNumber = 1;
/**
* @var int
*/
private $loopNumber = 1;

public function __construct(int $loopNumber, int $lineno, string $tag)
{
Expand Down
5 changes: 4 additions & 1 deletion src/TokenParser/ContinueNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@

class ContinueNode extends Node
{
private int $loopNumber = 1;
/**
* @var int
*/
private $loopNumber = 1;

public function __construct(int $loopNumber, int $lineno, string $tag)
{
Expand Down
2 changes: 1 addition & 1 deletion vendor-bin/phpunit/composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"require": {
"phpunit/phpunit": "^9.0"
"phpunit/phpunit": "^8.0|^9.0"
}
}

0 comments on commit ce2fb01

Please sign in to comment.