|
@@ -87,12 +87,12 @@ |
|
|
block discarded – undo |
|
87
|
87
|
private function facadeBindings() |
|
88
|
88
|
{ |
|
89
|
89
|
// Register 'vinelab.shorten' instance container |
|
90
|
|
- $this->app['vinelab.shorten'] = $this->app->share(function ($app) { |
|
|
90
|
+ $this->app['vinelab.shorten'] = $this->app->share(function($app) { |
|
91
|
91
|
return $app->make('Vinelab\UrlShortener\Shorten'); |
|
92
|
92
|
}); |
|
93
|
93
|
|
|
94
|
94
|
// Register 'Shorten' Alias, So users don't have to add the Alias to the 'app/config/app.php' |
|
95
|
|
- $this->app->booting(function () { |
|
|
95
|
+ $this->app->booting(function() { |
|
96
|
96
|
$loader = \Illuminate\Foundation\AliasLoader::getInstance(); |
|
97
|
97
|
$loader->alias('Shorten', 'Vinelab\UrlShortener\Facades\ShortenFacadeAccessor'); |
|
98
|
98
|
}); |
Please login to merge, or discard this patch.