File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
2626* This component no longer supports PHPDBG
2727* This component no longer supports Xdebug 2
2828
29- ## [ 9.2.25] - 2023-MM-DD
29+ ## [ 9.2.25] - 2023-02-25
3030
3131### Fixed
3232
@@ -496,7 +496,7 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
496496
497497[ 10.0.1 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/10.0.0...10.0.1
498498[ 10.0.0 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.24...10.0.0
499- [ 9.2.25 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.24...9.2
499+ [ 9.2.25 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.24...9.2.25
500500[ 9.2.24 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.23...9.2.24
501501[ 9.2.23 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.22...9.2.23
502502[ 9.2.22 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.21...9.2.22
Original file line number Diff line number Diff line change 2626use PhpParser \Node \Stmt \Interface_ ;
2727use PhpParser \Node \Stmt \Trait_ ;
2828use PhpParser \Node \UnionType ;
29+ use PhpParser \NodeAbstract ;
2930use PhpParser \NodeTraverser ;
3031use PhpParser \NodeVisitorAbstract ;
3132use SebastianBergmann \Complexity \CyclomaticComplexityCalculatingVisitor ;
@@ -315,7 +316,10 @@ private function intersectionTypeAsString(IntersectionType $node): string
315316 return implode ('& ' , $ types );
316317 }
317318
318- private function typeAsString (Identifier |Name $ node ): string
319+ /**
320+ * @psalm-param Identifier|Name $node $node
321+ */
322+ private function typeAsString (NodeAbstract $ node ): string
319323 {
320324 if ($ node instanceof Name) {
321325 return $ node ->toCodeString ();
You can’t perform that action at this time.
0 commit comments