Browse Source

Fixing stdclass namespace

logicp 7 years ago
parent
commit
2b27370f64
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/StatusTwitter.php

+ 1 - 1
src/StatusTwitter.php

@@ -205,7 +205,7 @@ class StatusTwitter {
     if(!empty($data->extended_entities->media[0]->video_info->variants)) {
       $z = null;
       $vidUrl = null;
-      $bitrate = new stdClass();
+      $bitrate = new \stdClass();
       $bitrate->value = null;
       $bitrate->index = null;