Skip to content

Commit 4e59b1d

Browse files
committed
feature #143 Make OAuth2Token non-final (Amunak)
This PR was merged into the 0.4-dev branch. Discussion ---------- Make OAuth2Token non-final This - seemingly for no reason - prevents advanced use cases like extending the OAuth2Token with additional custom data. There's a precedent in that Symfony themselves do not mark any Token classes as final and even extend them themselves. Commits ------- d896a16 Make OAuth2Token non-final
2 parents a094e60 + d896a16 commit 4e59b1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Security/Authentication/Token/OAuth2Token.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/**
1111
* @author Mathias Arlaud <mathias.arlaud@gmail.com>
1212
*/
13-
final class OAuth2Token extends AbstractToken
13+
class OAuth2Token extends AbstractToken
1414
{
1515
/**
1616
* @param list<string> $scopes

0 commit comments

Comments
 (0)