diff --git a/src/Deblan/Command/ListCommand.php b/src/Deblan/Command/StreamsCommand.php similarity index 99% rename from src/Deblan/Command/ListCommand.php rename to src/Deblan/Command/StreamsCommand.php index 6f34355..1089eb6 100644 --- a/src/Deblan/Command/ListCommand.php +++ b/src/Deblan/Command/StreamsCommand.php @@ -8,7 +8,7 @@ use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Command\Command; use Exception; -class ListCommand extends Command +class StreamsCommand extends Command { protected function configure() { diff --git a/src/Deblan/Helper/LiveCoding.php b/src/Deblan/Helper/LiveCoding.php index 55e968b..3cb7588 100644 --- a/src/Deblan/Helper/LiveCoding.php +++ b/src/Deblan/Helper/LiveCoding.php @@ -47,7 +47,6 @@ class LiveCoding public function getStreams($language = null, $difficulty = null) { - $content = file_get_contents($this->app->buildUrl(sprintf( 'livestreams/%s%s', $language !== null ? $language.'/' : 'all',