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
fd4ba9a0
Commit
fd4ba9a0
authored
7 years ago
by
Spomky
Committed by
GitHub
7 years ago
Browse files
Options
Download
Patches
Plain Diff
Apply fixes from StyleCI (#83)
[ci skip] [skip ci]
parent
c1e79484
8.3.x
v8.3.3
v8.3.2
v8.3.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 @
fd4ba9a0
...
@@ -141,6 +141,6 @@ final class TOTP extends OTP implements TOTPInterface
...
@@ -141,6 +141,6 @@ final class TOTP extends OTP implements TOTPInterface
*/
*/
private
function
timecode
(
$timestamp
)
private
function
timecode
(
$timestamp
)
{
{
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