Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/HttplugManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,33 +27,33 @@ 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)
{
$this->app = $app;
}

/**
* Get default driver
* Get default driver.
*
* @return string
*/
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
*/
Expand Down
10 changes: 2 additions & 8 deletions src/HttplugServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ public function boot()

/**
* Register the application services.
*
* @return void
*/
public function register()
{
Expand All @@ -42,9 +40,7 @@ public function register()
}

/**
* Register php-http interfaces to container
*
* @return void
* Register php-http interfaces to container.
*/
protected function registerHttplugFactories()
{
Expand All @@ -66,9 +62,7 @@ protected function registerHttplugFactories()
}

/**
* Register httplug to container
*
* @return void
* Register httplug to container.
*/
protected function registerHttplug()
{
Expand Down