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
824496eb
Commit
824496eb
authored
7 years ago
by
Spomky
Committed by
GitHub
7 years ago
Browse files
Options
Download
Patches
Plain Diff
Apply fixes from StyleCI (#82)
[ci skip] [skip ci]
parent
fec97d08
11.2.x
10.0.x
11.0.x
11.1.x
9.0.x
dependabot/composer/phpunit/phpunit-tw-9.5.26or-tw-10.0.0
11.1.0
v11.0.2
v11.0.1
v11.0.0
v10.0.3
v10.0.2
v10.0.1
v10.0.0
v10.0
v9.1.4
v9.1.3
v9.1.2
v9.1.1
v9.1.0
v9.0.3
v9.0.2
v9.0.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/TOTP.php
+1
-1
src/TOTP.php
with
1 addition
and
1 deletion
+1
-1
src/TOTP.php
+
1
−
1
View file @
824496eb
...
@@ -147,7 +147,7 @@ final class TOTP extends OTP implements TOTPInterface
...
@@ -147,7 +147,7 @@ final class TOTP extends OTP implements TOTPInterface
*/
*/
private
function
timecode
(
int
$timestamp
):
int
private
function
timecode
(
int
$timestamp
):
int
{
{
return
(
int
)
floor
(
$timestamp
/
$this
->
getPeriod
());
return
(
int
)
floor
(
$timestamp
/
$this
->
getPeriod
());
}
}
/**
/**
...
...
This diff is collapsed.
Click to expand it.
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