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
if (!$securityContextinstanceofTokenStorageInterface && !$securityContextinstanceof SecurityContextInterface) {
58
-
thrownew \InvalidArgumentException('Wrong type for OAuthListener, it has to implement TokenStorageInterface or SecurityContextInterface');
56
+
if (!$securityContextinstanceof TokenStorageInterface) {
57
+
thrownew \InvalidArgumentException('Wrong type for OAuthListener, it has to implement TokenStorageInterface');
59
58
}
60
59
if ($securityContextinstanceof SecurityContextInterface) {
61
60
@trigger_error(sprintf('Injecting SecurityContextInterface into %1$s::__construct is deprecated since 1.6 and will be removed in 2.0.', __CLASS__), E_USER_DEPRECATED);
0 commit comments