Skip to content

Commit d2da8e9

Browse files
committed
Updated check statement and tests.yml
1 parent 6bfd589 commit d2da8e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
strategy:
2727
matrix:
28-
php-versions: [ '7.0', '7.2', '7.4', '8.0', '8.2' ]
28+
php-versions: [ '7.4' ]
2929
steps:
3030
- uses: actions/checkout@v3
3131
name: Checkout

src/Iam.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ protected function loadToken()
354354
{
355355
if ($this->iam_token)
356356
{
357-
if ($this->refresh_at < time()){
357+
if ($this->refresh_at*1000000 < microtime()){
358358
try {
359359
return $this->newToken();
360360
} catch (\Exception $e){

0 commit comments

Comments
 (0)