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

@@ -46,8 +46,7 @@ class RuleServiceProvider extends ServiceProvider
public function register(): void
{
$this->app->bind(
RuleRepositoryInterface::class,
static function (Application $app) {
static function (Application $app): RuleRepositoryInterface {
/** @var RuleRepository $repository */
$repository = app(RuleRepository::class);
if ($app->auth->check()) { // @phpstan-ignore-line (phpstan does not understand the reference to auth)