Code cleanup

This commit is contained in:
James Cole
2023-11-04 14:18:49 +01:00
parent 5a35960434
commit ba0843d0bb
211 changed files with 566 additions and 568 deletions

View File

@@ -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);