We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f9a054 commit 51a24deCopy full SHA for 51a24de
tests/PHPStan/Parser/CachedParserTest.php
@@ -60,10 +60,7 @@ public function dataParseFileClearCache(): \Generator
60
];
61
}
62
63
- /**
64
- * @return Parser&MockObject
65
- */
66
- private function getParserMock(): Parser
+ private function getParserMock(): Parser&MockObject
67
{
68
$mock = $this->createMock(Parser::class);
69
@@ -73,10 +70,7 @@ private function getParserMock(): Parser
73
70
return $mock;
74
71
75
72
76
77
- * @return \PhpParser\Node&MockObject
78
79
- private function getPhpParserNodeMock(): \PhpParser\Node
+ private function getPhpParserNodeMock(): \PhpParser\Node&MockObject
80
81
return $this->createMock(\PhpParser\Node::class);
82
0 commit comments