Skip to content

Commit 7eec512

Browse files
Depend on sebastian/type ^3.0
1 parent fef420d commit 7eec512

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"support": {
2020
"issues": "https://github.com/sebastianbergmann/phpunit/issues"
2121
},
22+
"minimum-stability": "dev",
2223
"prefer-stable": true,
2324
"require": {
2425
"php": ">=7.3",
@@ -47,7 +48,7 @@
4748
"sebastian/global-state": "^5.0.1",
4849
"sebastian/object-enumerator": "^4.0.3",
4950
"sebastian/resource-operations": "^3.0.3",
50-
"sebastian/type": "^2.3.4",
51+
"sebastian/type": "^3.0",
5152
"sebastian/version": "^3.0.2"
5253
},
5354
"require-dev": {

src/Framework/MockObject/MockMethod.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public static function fromReflection(ReflectionMethod $method, bool $callOrigin
139139
$modifier,
140140
self::getMethodParametersForDeclaration($method),
141141
self::getMethodParametersForCall($method),
142-
(new ReflectionMapper)->fromMethodReturnType($method),
142+
(new ReflectionMapper)->fromReturnType($method),
143143
$reference,
144144
$callOriginalMethod,
145145
$method->isStatic(),

0 commit comments

Comments
 (0)