Update CHANGELOG.md

propose the use of named arguments

Co-authored-by: Will Power <1619102+willpower232@users.noreply.github.com>
This commit is contained in:
Nicolas CARPi
2024-04-28 00:22:41 +02:00
committed by GitHub
parent eb02cb7095
commit ab677e43ee
+1 -1
View File
@@ -20,7 +20,7 @@ use RobThree\Auth\Providers\Qr\QRServerProvider;
$tfa = new TwoFactorAuth(new QRServerProvider());
~~~
If you provided one before, the order of the parameters have been changed, so simply move the QRCodeProvider argument to the first place.
If you provided one before, the order of the parameters have been changed, so simply move the QRCodeProvider argument to the first place or use named arguments.
Documentation on selecting a QR Code Provider is available here: [QR Code Provider documentation](https://robthree.github.io/TwoFactorAuth/qr-codes.html).