Skip to content

Commit b7cfcf3

Browse files
committed
Stray array() in docs.
1 parent 45870ca commit b7cfcf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ Configurable Options
4242
Options can be set upon instantiation, or individually afterword:
4343

4444
``` php
45-
$api = new RestClient(array(
45+
$api = new RestClient([
4646
'format' => "json",
4747
'user_agent' => "my-application/0.1"
48-
));
48+
]);
4949
```
5050
-or-
5151

0 commit comments

Comments
 (0)