From 1d36f556172767adc616add644b4e93f57f7fb68 Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Wed, 3 Aug 2016 06:44:25 -0400 Subject: [PATCH] Applied fixes from StyleCI --- src/HttplugManager.php | 12 ++++++------ src/HttplugServiceProvider.php | 10 ++-------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/src/HttplugManager.php b/src/HttplugManager.php index 8f69b89..65486aa 100644 --- a/src/HttplugManager.php +++ b/src/HttplugManager.php @@ -27,8 +27,7 @@ class HttplugManager extends Manager /** * Create a new HttplugManager instance. * - * @param \Illuminate\Foundation\Application $app - * @return void + * @param \Illuminate\Foundation\Application $app */ public function __construct(Application $app) { @@ -36,7 +35,7 @@ public function __construct(Application $app) } /** - * Get default driver + * Get default driver. * * @return string */ @@ -44,16 +43,17 @@ public function getDefaultDriver() { return $this->app['config']['httplug.default']; } - + /** - * @param string $name + * @param string $name + * * @return array */ protected function getConfig($name) { return $this->app['config']["httplug.adapters.{$name}"]; } - + /** * @return \Http\Adapter\Guzzle6\Client */ diff --git a/src/HttplugServiceProvider.php b/src/HttplugServiceProvider.php index 312ab21..9fc09ba 100644 --- a/src/HttplugServiceProvider.php +++ b/src/HttplugServiceProvider.php @@ -32,8 +32,6 @@ public function boot() /** * Register the application services. - * - * @return void */ public function register() { @@ -42,9 +40,7 @@ public function register() } /** - * Register php-http interfaces to container - * - * @return void + * Register php-http interfaces to container. */ protected function registerHttplugFactories() { @@ -66,9 +62,7 @@ protected function registerHttplugFactories() } /** - * Register httplug to container - * - * @return void + * Register httplug to container. */ protected function registerHttplug() {