We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48f5b26 commit cddcea8Copy full SHA for cddcea8
src/Jenssegers/Mongodb/Auth/DatabaseTokenRepository.php
@@ -33,11 +33,10 @@ protected function tokenExpired($token)
33
$date->setTimestamp($token['created_at']->sec);
34
35
$token['created_at'] = $date->format('Y-m-d H:i:s');
36
-
37
- }elseif(is_array($token['created_at']) && isset($token['created_at']['date'])){
38
+ }
+ elseif (is_array($token['created_at']) and isset($token['created_at']['date']))
+ {
39
$token['created_at'] = $token['created_at']['date'];
40
41
}
42
43
return parent::tokenExpired($token);
0 commit comments