From d448ed91223aae3e5ee311b62866eb89c15a1a7b Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Thu, 5 Nov 2020 22:47:59 +0100 Subject: [PATCH] Code cleaning & refactoring --- app/Http/Controllers/QrCodeController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/QrCodeController.php b/app/Http/Controllers/QrCodeController.php index 10ee7939..b71be196 100644 --- a/app/Http/Controllers/QrCodeController.php +++ b/app/Http/Controllers/QrCodeController.php @@ -6,24 +6,24 @@ use OTPHP\Factory; use Zxing\QrReader; use App\TwoFAccount; -use chillerlan\QRCode\{QRCode, QROptions}; use App\Classes\Options; use Illuminate\Http\File; use Illuminate\Http\Request; use Assert\AssertionFailedException; use Illuminate\Support\Facades\Storage; +use chillerlan\QRCode\{QRCode, QROptions}; class QrCodeController extends Controller { /** * Return a QR code image * - * @param \Illuminate\Http\Request $request + * @param App\TwoFAccount $twofaccount * @return \Illuminate\Http\Response */ public function show(TwoFAccount $twofaccount) { - + $options = new QROptions([ 'quietzoneSize' => 2, 'scale' => 8,