Skip to content

Commit

Permalink
Add native property types in Tests
Browse files Browse the repository at this point in the history
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
  • Loading branch information
kamil-tekiela committed Jan 15, 2024
1 parent 18262b3 commit fdb885b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/Lexer/TokensListTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class TokensListTest extends TestCase
*
* @var Token[]
*/
public $tokens;
public array $tokens;

/**
* Test setup.
Expand Down
3 changes: 1 addition & 2 deletions tests/benchmarks/UtfStringBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@

class UtfStringBench
{
/** @var string */
private $testContents;
private string $testContents;

/**
* @BeforeMethods("setUp")
Expand Down

0 comments on commit fdb885b

Please sign in to comment.