You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->logger->debug('Stored the security token in the session.', array('key' => $this->sessionKey));
144
+
$this->logger->debug('Stored the security token in the session.', ['key' => $this->sessionKey]);
145
145
}
146
146
}
147
147
}
@@ -178,7 +178,7 @@ protected function refreshUser(TokenInterface $token)
178
178
$userDeauthenticated = true;
179
179
180
180
if (null !== $this->logger) {
181
-
$this->logger->debug('Cannot refresh token because user has changed.', array('username' => $refreshedUser->getUsername(), 'provider' => \get_class($provider)));
181
+
$this->logger->debug('Cannot refresh token because user has changed.', ['username' => $refreshedUser->getUsername(), 'provider' => \get_class($provider)]);
182
182
}
183
183
184
184
continue;
@@ -187,7 +187,7 @@ protected function refreshUser(TokenInterface $token)
@@ -204,7 +204,7 @@ protected function refreshUser(TokenInterface $token)
204
204
// let's try the next user provider
205
205
} catch (UsernameNotFoundException$e) {
206
206
if (null !== $this->logger) {
207
-
$this->logger->warning('Username could not be found in the selected user provider.', array('username' => $e->getUsername(), 'provider' => \get_class($provider)));
207
+
$this->logger->warning('Username could not be found in the selected user provider.', ['username' => $e->getUsername(), 'provider' => \get_class($provider)]);
208
208
}
209
209
210
210
$userNotFoundByProvider = true;
@@ -230,7 +230,7 @@ private function safelyUnserialize($serializedToken)
@@ -249,7 +249,7 @@ private function safelyUnserialize($serializedToken)
249
249
throw$e;
250
250
}
251
251
if ($this->logger) {
252
-
$this->logger->warning('Failed to unserialize the security token from the session.', array('key' => $this->sessionKey, 'received' => $serializedToken, 'exception' => $e));
252
+
$this->logger->warning('Failed to unserialize the security token from the session.', ['key' => $this->sessionKey, 'received' => $serializedToken, 'exception' => $e]);
0 commit comments