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
26
26
* This component no longer supports PHPDBG
27
27
* This component no longer supports Xdebug 2
28
28
29
- ## [ 9.2.25] - 2023-MM-DD
29
+ ## [ 9.2.25] - 2023-02-25
30
30
31
31
### Fixed
32
32
@@ -496,7 +496,7 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
496
496
497
497
[ 10.0.1 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/10.0.0...10.0.1
498
498
[ 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
500
500
[ 9.2.24 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.23...9.2.24
501
501
[ 9.2.23 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.22...9.2.23
502
502
[ 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 26
26
use PhpParser \Node \Stmt \Interface_ ;
27
27
use PhpParser \Node \Stmt \Trait_ ;
28
28
use PhpParser \Node \UnionType ;
29
+ use PhpParser \NodeAbstract ;
29
30
use PhpParser \NodeTraverser ;
30
31
use PhpParser \NodeVisitorAbstract ;
31
32
use SebastianBergmann \Complexity \CyclomaticComplexityCalculatingVisitor ;
@@ -315,7 +316,10 @@ private function intersectionTypeAsString(IntersectionType $node): string
315
316
return implode ('& ' , $ types );
316
317
}
317
318
318
- private function typeAsString (Identifier |Name $ node ): string
319
+ /**
320
+ * @psalm-param Identifier|Name $node $node
321
+ */
322
+ private function typeAsString (NodeAbstract $ node ): string
319
323
{
320
324
if ($ node instanceof Name) {
321
325
return $ node ->toCodeString ();
You can’t perform that action at this time.
0 commit comments