mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 12:11:19 +00:00
Code cleanup
This commit is contained in:
@@ -49,7 +49,7 @@ class BillServiceProvider extends ServiceProvider
|
||||
{
|
||||
$this->app->bind(
|
||||
BillRepositoryInterface::class,
|
||||
function (Application $app) {
|
||||
static function (Application $app) {
|
||||
/** @var BillRepositoryInterface $repository */
|
||||
$repository = app(BillRepository::class);
|
||||
|
||||
@@ -65,7 +65,7 @@ class BillServiceProvider extends ServiceProvider
|
||||
// administration variant
|
||||
$this->app->bind(
|
||||
AdminBillRepositoryInterface::class,
|
||||
function (Application $app) {
|
||||
static function (Application $app) {
|
||||
/** @var AdminBillRepositoryInterface $repository */
|
||||
$repository = app(AdminBillRepository::class);
|
||||
|
||||
|
Reference in New Issue
Block a user