Skip to content

Commit

Permalink
Merge commit '3c74fa5'
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioribeiro committed Jul 21, 2017
2 parents 9fe9bff + 3c74fa5 commit 8e6b7ad
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Vendor/Laravel/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function provides()
*/
private function registerFileSystem()
{
$this->app['steroids.fileSystem'] = $this->app->share(function($app)
$this->app->singleton('steroids.fileSystem', function($app)
{
return new Filesystem;
});
Expand All @@ -117,7 +117,7 @@ private function registerFileSystem()
*/
private function registerKeywordList()
{
$this->app['steroids.keywordList'] = $this->app->share(function($app)
$this->app->singleton('steroids.keywordList', function($app)
{
return new KeywordList(
$app['steroids.config'],
Expand All @@ -133,7 +133,7 @@ private function registerKeywordList()
*/
private function registerBladeProcessor()
{
$this->app['steroids.bladeProcessor'] = $this->app->share(function($app)
$this->app->singleton('steroids.bladeProcessor', function($app)
{
return new BladeProcessor($app['steroids.config']);
});
Expand All @@ -146,7 +146,7 @@ private function registerBladeProcessor()
*/
private function registerBladeParser()
{
$this->app['steroids.bladeParser'] = $this->app->share(function($app)
$this->app->singleton('steroids.bladeParser', function($app)
{
return new BladeParser();
});
Expand All @@ -160,7 +160,7 @@ private function registerBladeParser()
*/
private function registerSteroids()
{
$this->app['steroids'] = $this->app->share(function($app)
$this->app->singleton('steroids', function($app)
{
$app['steroids.loaded'] = true;

Expand All @@ -181,7 +181,7 @@ private function registerSteroids()
*/
private function registerTemplatesCommand()
{
$this->app['steroids.templates.command'] = $this->app->share(function($app)
$this->app->singleton('steroids.templates.command', function($app)
{
return new TemplatesCommand();
});
Expand All @@ -194,7 +194,7 @@ private function registerTemplatesCommand()
*/
private function registerClearCommand()
{
$this->app['steroids.clear.command'] = $this->app->share(function($app)
$this->app->singleton('steroids.clear.command', function($app)
{
return new ClearCommand();
});
Expand All @@ -207,7 +207,7 @@ private function registerClearCommand()
*/
private function registerReportCommand()
{
$this->app['steroids.report.command'] = $this->app->share(function($app)
$this->app->singleton('steroids.report.command', function($app)
{
return new ReportCommand();
});
Expand Down

0 comments on commit 8e6b7ad

Please sign in to comment.