Skip to content

Commit a6f7735

Browse files
fix: docs for new PHP Version
1 parent 6416e79 commit a6f7735

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

docs/qr-codes.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,10 @@ If you do not want to use the default QR code provider, you can specify the one
4848

4949
```php
5050
use RobThree\Auth\TwoFactorAuth;
51-
use RobThree\Auth\Algorithm;
5251

5352
$tfa = new TwoFactorAuth(
54-
null,
55-
6,
56-
30,
57-
Algorithm::Sha1,
58-
YourChosenProvider: $qrCodeProvider
53+
issuer: "Your Company Or App Name",
54+
qrcodeprovider: $qrCodeProvider
5955
);
6056
```
6157

0 commit comments

Comments
 (0)