Skip to content

Commit 91d0648

Browse files
committed
Update README.md
1 parent 9bd00b0 commit 91d0648

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
@@ -96,7 +96,7 @@ Method | Description
9696
`setResponseCacheTime(int $seconds): void` | Enable or disable cache for Proxy::respose() or Proxy::jsonp()
9797
`response(): void` | Dump response to output
9898
`jsonp(string $callback): void` | Output JSONP callback with URL or data URI content
99-
`getContents(int $length = -1, int $offset = -1): string` | If last download was successful, contents will be returned
99+
`getContents([int $length[, int $offset]]): string` | If last download was successful, contents will be returned
100100
`getContentType(): string` | If last download was successful, content-type will be returned
101101
`getHttpStatus(): int` | If last download was successful, HTTP status will be returned
102102
`getLastErrorCode(): int` | If last download was failed, error code will be returned

0 commit comments

Comments
 (0)