Skip to content

Commit

Permalink
Fix support for php <7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
norkunas committed Mar 18, 2017
1 parent 78bb1d8 commit e160919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/YoutubeDl.php
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ protected function handleException(\Exception $e)
return $e;
}

private function isUrlSupported(string $url): bool
private function isUrlSupported($url)
{
if (preg_match('#soundcloud.com/.+/sets.+#', $url)) {
return false;
Expand Down

0 comments on commit e160919

Please sign in to comment.