From 0e76532ae53fabe2a08d1cf23b2b8637b8e4d84d Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Fri, 27 Sep 2024 11:54:19 +0200 Subject: [PATCH] Fix phpstan issues --- app/Providers/TwoFAuthServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Providers/TwoFAuthServiceProvider.php b/app/Providers/TwoFAuthServiceProvider.php index 219fbad7..6ab40b19 100644 --- a/app/Providers/TwoFAuthServiceProvider.php +++ b/app/Providers/TwoFAuthServiceProvider.php @@ -36,7 +36,7 @@ public function register() return new ReleaseRadarService; }); - $this->app->bind(QrReader::class, function ($app, $parameters) { + $this->app->bind(QrReader::class, function ($app, array $parameters) { return new QrReader($parameters['imgSource'], $parameters['sourceType']); }); }