Skip to content

Commit d655495

Browse files
committed
Require PHP 7.4
1 parent 70db17b commit d655495

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

src/ImportResolver.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,12 @@
1313
*/
1414
class ImportResolver
1515
{
16-
/**
17-
* @var string
18-
*/
19-
private $namespace;
16+
private string $namespace;
2017

2118
/**
2219
* @var array<string, string>
2320
*/
24-
private $aliases;
21+
private array $aliases;
2522

2623
/**
2724
* Class constructor.

src/ReflectionTools.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ class ReflectionTools
1515
{
1616
/**
1717
* A generic cache for the output of methods.
18-
*
19-
* @var array
2018
*/
21-
private $cache = [];
19+
private array $cache = [];
2220

2321
/**
2422
* The list of built-in PHP types.
@@ -28,7 +26,7 @@ class ReflectionTools
2826
*
2927
* @var string[]
3028
*/
31-
private $builtInTypes = [
29+
private array $builtInTypes = [
3230
'array',
3331
'object',
3432
'int',

0 commit comments

Comments
 (0)