Skip to content

Commit ebd2b66

Browse files
authored
Update README.md (#7)
1 parent 1970e56 commit ebd2b66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Testable code. Curl object is injected, so can be easily mocked in PHPUnit.
2727
```php
2828
class MyApiClient {
2929
private $curl;
30-
function __construct(\PHPCurl\CurlWrapper\Curl $curl)
30+
function __construct(\PHPCurl\CurlWrapper\CurlInterface $curl)
3131
{
3232
$this->curl = $curl;
3333
}

0 commit comments

Comments
 (0)