Display tweets in a table
This commit is contained in:
parent
a02713b644
commit
91af0ef7f8
2 changed files with 12 additions and 2 deletions
|
@ -57,7 +57,7 @@ class TweetFetcher
|
|||
|
||||
return collect($response->get('statuses'))
|
||||
->map(function (\stdClass $tweet) {
|
||||
return (object) [
|
||||
return [
|
||||
'id' => $tweet->id,
|
||||
'created' => strtotime($tweet->created_at),
|
||||
'text' => $tweet->text,
|
||||
|
|
Reference in a new issue