diff --git a/docs/qr-codes.md b/docs/qr-codes.md index bf7b6c8..83e9b5d 100644 --- a/docs/qr-codes.md +++ b/docs/qr-codes.md @@ -50,14 +50,12 @@ If you do not want to use the default QR code provider, you can specify the one use RobThree\Auth\TwoFactorAuth; use RobThree\Auth\Algorithm; -$qrCodeProvider = new YourChosenProvider(); - $tfa = new TwoFactorAuth( null, 6, 30, Algorithm::Sha1, - $qrCodeProvider + YourChosenProvider: $qrCodeProvider ); ```