Skip to content

Commit b12bcf3

Browse files
committed
Overzealus optimizations
1 parent f6e37eb commit b12bcf3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/profile-update-username-on-tweet-async.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
))->withAccessToken(
2525
$config['access_token']['token'],
2626
$config['access_token']['secret']
27-
)->profile()->done(function (ProfileInterface $profile) use ($client, $argv, $emojis) {
27+
);
28+
29+
$profile = $client->profile()->done(function (ProfileInterface $profile) use ($client, $argv, $emojis) {
2830
resource_pretty_print($profile);
2931
$client->stream()->filtered([
3032
'follow' => $profile->idStr(),

0 commit comments

Comments
 (0)