Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
amir9480 committed Jul 29, 2024
1 parent 0afbeb1 commit 7c8f706
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Verify.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ public function request(string $receiver, string $method = null)
return [
'success' => false,
'message' => trans('verify::verify.resend_wait', [
'seconds' => config('verify.resend_delay') - $lastestLog->created_at->diffInSeconds()
'seconds' => intval(config('verify.resend_delay') - $lastestLog->created_at->diffInSeconds())
]),
'seconds' => config('verify.resend_delay') - $lastestLog->created_at->diffInSeconds()
'seconds' => intval(config('verify.resend_delay') - $lastestLog->created_at->diffInSeconds())
];
}
if (VerifyLog::where('created_at', '>', now()->subHour())
Expand Down

0 comments on commit 7c8f706

Please sign in to comment.