Skip to content

Commit

Permalink
Merge pull request laravel#37 from laravel-zero/analysis-8603YN
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
nunomaduro authored Oct 12, 2017
2 parents 1ae6e9f + 363754f commit 7788886
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Providers/ErrorHandler/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ public function __construct(ProviderContract $provider = null)
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function register(): void
{
$this->provider->register();
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function setOutput(OutputInterface $output): void
{
Expand Down
6 changes: 3 additions & 3 deletions src/Providers/ErrorHandler/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@
class ServiceProvider extends BaseServiceProvider
{
/**
* @inheritdoc
* {@inheritdoc}
*/
public function boot(ErrorHandlerContract $errorHandler): void
{
$errorHandler->register();
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function register(): void
{
$this->app->singleton(ErrorHandlerContract::class, function() {
$this->app->singleton(ErrorHandlerContract::class, function () {
return new ErrorHandler;
});
}
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ abstract class TestCase extends BaseTestCase
protected $app;

/**
* @inheritdoc
* {@inheritdoc}
*/
protected function setUp(): void
{
Expand Down

0 comments on commit 7788886

Please sign in to comment.