Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
otphp
Commits
0d3f92d6
Commit
0d3f92d6
authored
2 years ago
by
Filippo Tessarotto
Committed by
Florent Morselli
2 years ago
Browse files
Options
Download
Patches
Plain Diff
Prefer explicit setters over optional parameters
parent
c7051644
11.2.x
11.0.x
11.1.x
dependabot/composer/phpunit/phpunit-tw-9.5.26or-tw-10.0.0
11.1.0
No related merge requests found
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
src/HOTP.php
+23
-20
src/HOTP.php
src/HOTPInterface.php
+6
-16
src/HOTPInterface.php
src/OTP.php
+4
-3
src/OTP.php
src/OTPInterface.php
+28
-0
src/OTPInterface.php
src/ParameterTrait.php
+15
-15
src/ParameterTrait.php
src/TOTP.php
+32
-33
src/TOTP.php
src/TOTPInterface.php
+12
-18
src/TOTPInterface.php
tests/HOTPTest.php
+24
-15
tests/HOTPTest.php
tests/TOTPTest.php
+17
-4
tests/TOTPTest.php
with
161 additions
and
124 deletions
+161
-124
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets