Skip to content

Commit 38407dd

Browse files
committed
fix: Method getUri may not return value of type string, its declared return type is Psr\Http\Message\UriInterface
1 parent 7a30f76 commit 38407dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Test/Unit/Http/TransferStatsHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function testStatHandlerTransferTime()
9696
$stats = new TransferStats($mockRequest, null, 3.1415926);
9797

9898
$mockRequest->method('getUri')
99-
->wilLReturn('/');
99+
->wilLReturn($mockUriInterface);
100100
$this->loggerMock->expects($this->once())
101101
->method('debug')
102102
->with('cURL stats are missing from the request; using total transfer time');

0 commit comments

Comments
 (0)