diff --git a/src/Fixer/Import/FullyQualifiedStrictTypesFixer.php b/src/Fixer/Import/FullyQualifiedStrictTypesFixer.php index 62c28eef33d..641efaaf494 100644 --- a/src/Fixer/Import/FullyQualifiedStrictTypesFixer.php +++ b/src/Fixer/Import/FullyQualifiedStrictTypesFixer.php @@ -77,7 +77,7 @@ final class FullyQualifiedStrictTypesFixer extends AbstractFixer implements Conf * function?: list * }|null */ - private ?array $discoveredSymbols; + private ?array $discoveredSymbols = null; /** * @var array{ diff --git a/src/Tokenizer/Token.php b/src/Tokenizer/Token.php index 77303c7ace5..4b12c09f9ba 100644 --- a/src/Tokenizer/Token.php +++ b/src/Tokenizer/Token.php @@ -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.