Skip to content

Commit

Permalink
refactor: use arrow functions in more places
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus committed Nov 21, 2024
1 parent f73e47c commit d1e0e0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Fixer/Import/FullyQualifiedStrictTypesFixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ final class FullyQualifiedStrictTypesFixer extends AbstractFixer implements Conf
* function?: list<class-string>
* }|null
*/
private ?array $discoveredSymbols;
private ?array $discoveredSymbols = null;

/**
* @var array{
Expand Down
2 changes: 1 addition & 1 deletion src/Tokenizer/Token.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ final class Token
/**
* ID of token prototype, if available.
*/
private ?int $id;
private ?int $id = null;

/**
* If token prototype is an array.
Expand Down

0 comments on commit d1e0e0b

Please sign in to comment.