Update files using Rector.

This commit is contained in:
James Cole
2025-05-29 15:01:06 +02:00
parent 189a323f3c
commit 5be6bb755d
126 changed files with 668 additions and 612 deletions

View File

@@ -54,8 +54,7 @@ class AdminServiceProvider extends ServiceProvider
private function linkType(): void
{
$this->app->bind(
LinkTypeRepositoryInterface::class,
static function (Application $app) {
static function (Application $app): LinkTypeRepositoryInterface {
/** @var LinkTypeRepository $repository */
$repository = app(LinkTypeRepository::class);
// reference to auth is not understood by phpstan.