Skip to content

Commit

Permalink
Bug fix for Youtube test
Browse files Browse the repository at this point in the history
  • Loading branch information
webchuckweb committed Nov 4, 2021
1 parent 27a5244 commit eba92e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/PhpAlly.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public function checkMany($content, $ruleIds = [], $options = [])
$report->setIssues($rule->getIssues());
$report->setErrors($rule->getErrors());
} catch (\Exception $e) {
print($e->getLine());
$report->setError($e->getMessage());
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Video/Youtube.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,6 @@ function getVideoData($link_url)
return self::YOUTUBE_FAILED_REQUEST;
}

return isset($result->items) ? $response->items : self::YOUTUBE_FAILED_REQUEST;
return isset($result->items) ? $result->items : self::YOUTUBE_FAILED_REQUEST;
}
}

0 comments on commit eba92e3

Please sign in to comment.