Skip to content

Commit

Permalink
Depend on sebastian/type ^3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Mar 15, 2022
1 parent fef420d commit 7eec512
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues"
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=7.3",
Expand Down Expand Up @@ -47,7 +48,7 @@
"sebastian/global-state": "^5.0.1",
"sebastian/object-enumerator": "^4.0.3",
"sebastian/resource-operations": "^3.0.3",
"sebastian/type": "^2.3.4",
"sebastian/type": "^3.0",
"sebastian/version": "^3.0.2"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/MockObject/MockMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public static function fromReflection(ReflectionMethod $method, bool $callOrigin
$modifier,
self::getMethodParametersForDeclaration($method),
self::getMethodParametersForCall($method),
(new ReflectionMapper)->fromMethodReturnType($method),
(new ReflectionMapper)->fromReturnType($method),
$reference,
$callOriginalMethod,
$method->isStatic(),
Expand Down

0 comments on commit 7eec512

Please sign in to comment.