Skip to content

Commit

Permalink
Merge pull request #10 from jedkirby/feature/documentation-error
Browse files Browse the repository at this point in the history
Cannot use new Tweet as it's private, use make() instead
  • Loading branch information
jedkirby committed Jan 26, 2017
2 parents bec541b + bfae2a1 commit b364b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ $hashtags = [
When putting all the above parameters together, you'd get the following:

``` php
$tweet = new Tweet(
$tweet = Tweet::make(
$text,
$urls,
$mentions,
Expand Down

0 comments on commit b364b50

Please sign in to comment.