File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ protected function getTypeStatementAsString(string $statement): ?string
4444 return \trim ($ visitor ->getOutput ());
4545 }
4646
47- protected function expectParseError (string $ message = null ): void
47+ protected function expectParseError (? string $ message = null ): void
4848 {
4949 $ this ->expectException (ParseException::class);
5050
Original file line number Diff line number Diff line change @@ -589,7 +589,7 @@ public static function typesDataProvider(): iterable
589589 }
590590
591591 #[DataProvider('typesDataProvider')]
592- public function testTypes(string $type, string $expected = null): void
592+ public function testTypes(string $type, ? string $expected = null): void
593593 {
594594 $this->assertTypeStatementSame($type, $expected ?? <<<AST
595595 Stmt\NamedTypeNode
You can’t perform that action at this time.
0 commit comments