Skip to content

Commit

Permalink
inline return
Browse files Browse the repository at this point in the history
  • Loading branch information
norkunas committed May 28, 2015
1 parent d08d62f commit 0cf508a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/YoutubeDl.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,7 @@ public function getExtractorsList()
$process = new Process('youtube-dl --list-extractors');
$process->mustRun(is_callable($this->debug) ? $this->debug : null);

$list = array_filter(explode("\n", $process->getOutput()));

return $list;
return array_filter(explode("\n", $process->getOutput()));
}

protected function configureOptions(OptionsResolver $resolver)
Expand Down

0 comments on commit 0cf508a

Please sign in to comment.