Skip to content

Commit 0c0d899

Browse files
committed
Fixed build
1 parent f4aba77 commit 0c0d899

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Mockery/Type/AllowsDynamicReturnTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class AllowsDynamicReturnTypeExtension implements DynamicMethodReturnTypeExtensi
1818

1919
public function getClass(): string
2020
{
21-
return \Mockery\MockInterface::class;
21+
return 'Mockery\\MockInterface';
2222
}
2323

2424
public function isMethodSupported(MethodReflection $methodReflection): bool

src/Mockery/Type/ExpectationAfterAllowsDynamicReturnTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function isMethodSupported(MethodReflection $methodReflection): bool
2424

2525
public function getTypeFromMethodCall(MethodReflection $methodReflection, MethodCall $methodCall, Scope $scope): Type
2626
{
27-
return new ObjectType(\Mockery\CompositeExpectation::class);
27+
return new ObjectType('Mockery\\CompositeExpectation');
2828
}
2929

3030
}

src/Mockery/Type/ShouldReceiveDynamicReturnTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function isMethodSupported(MethodReflection $methodReflection): bool
2424

2525
public function getTypeFromMethodCall(MethodReflection $methodReflection, MethodCall $methodCall, Scope $scope): Type
2626
{
27-
return new ObjectType(\Mockery\CompositeExpectation::class);
27+
return new ObjectType('Mockery\\CompositeExpectation');
2828
}
2929

3030
}

0 commit comments

Comments
 (0)