mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 04:03:26 +00:00
Updated providers after upgrade to Laravel 5.2
This commit is contained in:
23
app/Providers/AppServiceProvider.php
Normal file → Executable file
23
app/Providers/AppServiceProvider.php
Normal file → Executable file
@@ -1,17 +1,11 @@
|
||||
<?php namespace FireflyIII\Providers;
|
||||
<?php
|
||||
|
||||
namespace FireflyIII\Providers;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
/**
|
||||
* Class AppServiceProvider
|
||||
*
|
||||
* @package FireflyIII\Providers
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
|
||||
/**
|
||||
* Bootstrap any application services.
|
||||
*
|
||||
@@ -25,19 +19,10 @@ class AppServiceProvider extends ServiceProvider
|
||||
/**
|
||||
* Register any application services.
|
||||
*
|
||||
* This service provider is a great spot to register your various container
|
||||
* bindings with the application. As you can see, we are registering our
|
||||
* "Registrar" implementation here. You can add your own bindings too!
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
$this->app->bind(
|
||||
'Illuminate\Contracts\Auth\Registrar',
|
||||
'FireflyIII\Services\Registrar'
|
||||
);
|
||||
|
||||
//
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user