Skip to content

Commit

Permalink
Fix errors @Youtube.php
Browse files Browse the repository at this point in the history
  • Loading branch information
muiton committed Jul 14, 2018
1 parent 40b2dde commit e9a08a2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/YouTube.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function chart($maxResults, $token = null) {

foreach($out->items as $o) {

$ids[] = $o->id->videoId;
$ids[] = $o->id;

}

Expand Down Expand Up @@ -87,6 +87,8 @@ public function videoByCat($catID, $maxResults, $token = null) {


$params = array(

'chart' => 'mostPopular',

'videoCategoryId' => $catID,

Expand Down Expand Up @@ -116,7 +118,7 @@ public function videoByCat($catID, $maxResults, $token = null) {

foreach($out->items as $o) {

$ids[] = $o->id->videoId;
$ids[] = $o->id;

}

Expand Down

0 comments on commit e9a08a2

Please sign in to comment.