From a6f7735b9fbd1143625cdb4292e28720dab5760d Mon Sep 17 00:00:00 2001 From: Jan <96944229+modelrailroader@users.noreply.github.com> Date: Fri, 23 Jun 2023 17:54:58 +0200 Subject: [PATCH] fix: docs for new PHP Version --- docs/qr-codes.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/qr-codes.md b/docs/qr-codes.md index 83e9b5d..25fdd3c 100644 --- a/docs/qr-codes.md +++ b/docs/qr-codes.md @@ -48,14 +48,10 @@ If you do not want to use the default QR code provider, you can specify the one ```php use RobThree\Auth\TwoFactorAuth; -use RobThree\Auth\Algorithm; $tfa = new TwoFactorAuth( - null, - 6, - 30, - Algorithm::Sha1, - YourChosenProvider: $qrCodeProvider + issuer: "Your Company Or App Name", + qrcodeprovider: $qrCodeProvider ); ```