Skip to content

Commit 19fbba4

Browse files
Merge branch '10.5'
2 parents 0879c1f + 23a9e6a commit 19fbba4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.psalm/baseline.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@
363363
<code><![CDATA[(new ReflectionClass($stubClassName))->newInstanceWithoutConstructor()]]></code>
364364
</LessSpecificReturnStatement>
365365
<MoreSpecificReturnType>
366-
<code>MockObject</code>
366+
<code>Stub</code>
367367
</MoreSpecificReturnType>
368368
</file>
369369
<file src="src/Framework/MockObject/Runtime/Rule/Parameters.php">

src/Framework/MockObject/Runtime/ReturnValueGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ private function onlyInterfaces(array $types): bool
178178
*
179179
* @throws RuntimeException
180180
*/
181-
private function newInstanceOf(string $stubClassName, string $className, string $methodName): MockObject
181+
private function newInstanceOf(string $stubClassName, string $className, string $methodName): Stub
182182
{
183183
try {
184184
return (new ReflectionClass($stubClassName))->newInstanceWithoutConstructor();

0 commit comments

Comments
 (0)