Skip to content

Commit a862c51

Browse files
authored
Merge pull request #138 from juse-less/bugfix/class-return-type
Fix | V2 - Changed the Response class return type to its interface counterpart
2 parents 94bcdb2 + af5b98f commit a862c51

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)