mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-01 03:05:09 +00:00
Update files using Rector.
This commit is contained in:
@@ -46,8 +46,7 @@ class AttachmentServiceProvider extends ServiceProvider
|
||||
public function register(): void
|
||||
{
|
||||
$this->app->bind(
|
||||
AttachmentRepositoryInterface::class,
|
||||
static function (Application $app) {
|
||||
static function (Application $app): AttachmentRepositoryInterface {
|
||||
/** @var AttachmentRepositoryInterface $repository */
|
||||
$repository = app(AttachmentRepository::class);
|
||||
// reference to auth is not understood by phpstan.
|
||||
|
||||
Reference in New Issue
Block a user