From c422eff124c08df82ec821db1eda4fe67a348eb8 Mon Sep 17 00:00:00 2001 From: Mark Redeman Date: Mon, 13 Apr 2015 22:42:31 +0200 Subject: [PATCH] Fixed some docblocks --- src/Adapters/EventDispatcherAdapter.php | 4 ++-- src/TmdbServiceProvider.php | 3 +-- src/TmdbServiceProviderLaravel4.php | 3 --- src/TmdbServiceProviderLaravel5.php | 4 +--- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/Adapters/EventDispatcherAdapter.php b/src/Adapters/EventDispatcherAdapter.php index 47e1bd90..8dec5776 100644 --- a/src/Adapters/EventDispatcherAdapter.php +++ b/src/Adapters/EventDispatcherAdapter.php @@ -27,7 +27,7 @@ abstract class EventDispatcherAdapter implements SymfonyDispatcher /** * The Symfony Event Dispatcher - * @var Symfony\Component\EventDispatcher + * @var Symfony\Component\EventDispatcher\EventDispatcherInterface */ protected $symfonyDispatcher; @@ -96,7 +96,7 @@ public function addSubscriber(EventSubscriberInterface $subscriber) * Removes an event listener from the specified events. * * @param string $eventName The event to remove a listener from - * @param callable $listener The listener to remove + * @param callable $listenerToBeRemoved The listener to remove */ public function removeListener($eventName, $listenerToBeRemoved) { diff --git a/src/TmdbServiceProvider.php b/src/TmdbServiceProvider.php index fc14f5ae..18967491 100644 --- a/src/TmdbServiceProvider.php +++ b/src/TmdbServiceProvider.php @@ -32,8 +32,6 @@ class TmdbServiceProvider extends ServiceProvider /** * Construct the TMDB service provider - * - * @return void */ public function __construct() { @@ -46,6 +44,7 @@ public function __construct() $this->registerProvider(); } + /** * Bootstrap the application events. * diff --git a/src/TmdbServiceProviderLaravel4.php b/src/TmdbServiceProviderLaravel4.php index ef325e7e..bdacf879 100644 --- a/src/TmdbServiceProviderLaravel4.php +++ b/src/TmdbServiceProviderLaravel4.php @@ -7,9 +7,6 @@ namespace Tmdb\Laravel; use Illuminate\Support\ServiceProvider; -use Symfony\Component\Process\Exception\RuntimeException; -use Tmdb\ApiToken; -use Tmdb\Client; class TmdbServiceProviderLaravel4 extends ServiceProvider { diff --git a/src/TmdbServiceProviderLaravel5.php b/src/TmdbServiceProviderLaravel5.php index de70391a..d9a7c470 100644 --- a/src/TmdbServiceProviderLaravel5.php +++ b/src/TmdbServiceProviderLaravel5.php @@ -7,8 +7,6 @@ namespace Tmdb\Laravel; use Illuminate\Support\ServiceProvider; -use Tmdb\ApiToken; -use Tmdb\Client; class TmdbServiceProviderLaravel5 extends ServiceProvider { @@ -58,6 +56,6 @@ private function setupConfiguration() */ private function defaultConfig() { - return __DIR__.'/config/tmdb.php'; + return __DIR__ . '/config/tmdb.php'; } }