Skip to content

Commit f6ca53d

Browse files
author
ritou
committed
fixed warning on jenkins
1 parent dea7633 commit f6ca53d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Akita/OATH.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ public function validateHotp($hotp, $secret, $counter)
6464

6565
private function getTimeCounter($manualtime=null)
6666
{
67-
$ts = (!is_null($manualtime)) ? $manualtime : time();
68-
return floor($ts/$this->_timestep);
67+
$calc_ts = (!is_null($manualtime)) ? $manualtime : time();
68+
return floor($calc_ts/$this->_timestep);
6969
}
7070

7171
private static function hash($secret, $counter)

0 commit comments

Comments
 (0)