Skip to content

Commit dd0ecae

Browse files
Fix: Changes for > PHP 8
1 parent 241dfec commit dd0ecae

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/qr-codes.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,12 @@ If you do not want to use the default QR code provider, you can specify the one
5050
use RobThree\Auth\TwoFactorAuth;
5151
use RobThree\Auth\Algorithm;
5252

53-
$qrCodeProvider = new YourChosenProvider();
54-
5553
$tfa = new TwoFactorAuth(
5654
null,
5755
6,
5856
30,
5957
Algorithm::Sha1,
60-
$qrCodeProvider
58+
YourChosenProvider: $qrCodeProvider
6159
);
6260
```
6361

0 commit comments

Comments
 (0)