Skip to content

Commit af5b98f

Browse files
committed
return type should be the interface, not class
1 parent 94bcdb2 commit af5b98f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/PendingRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ protected function resolveResponseClass(): string
434434
*
435435
* @return \Saloon\Contracts\Response
436436
*/
437-
public function send(): Response
437+
public function send(): ResponseContract
438438
{
439439
return (new Dispatcher($this))->execute();
440440
}

0 commit comments

Comments
 (0)