Skip to content

Commit 4687aa3

Browse files
Fix CS/WS issues
1 parent 7b4e9eb commit 4687aa3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Framework/MockObject/Builder/InvocationMocker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ private function ensureTypeOfReturnValues(array $values): void
270270
\sprintf(
271271
'Method %s may not return value of type %s, its return declaration is "%s"',
272272
$configuredMethod->getName(),
273-
is_object($value) ? \get_class($value) : \gettype($value),
273+
\is_object($value) ? \get_class($value) : \gettype($value),
274274
$configuredMethod->getReturnTypeDeclaration()
275275
)
276276
);

src/Framework/MockObject/ConfigurableMethod.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function mayReturn($value): bool
4545

4646
return $this->returnType->isAssignable(Type::fromValue($value, false));
4747
}
48-
48+
4949
public function getReturnTypeDeclaration(): string
5050
{
5151
return $this->returnType->getReturnTypeDeclaration();

0 commit comments

Comments
 (0)