8000 [2.3][Component/Security] Fixed phpdoc in AnonymousToken constructor for user param by eriwin · Pull Request #18727 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[2.3][Component/Security] Fixed phpdoc in AnonymousToken constructor for user param #18727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

eriwin
Copy link
@eriwin eriwin commented May 9, 2016
Q A
Branch? 2.3
Bug fix? yes, phpdoc one
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Updated phpdoc of AnonymousToken $user param from string to string|object since an object is allowed to in the parent AbstractToken: https://github.com/symfony/symfony/blob/2.3/src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php#L91

@xabbuh
Copy link
Member
xabbuh commented May 9, 2016

Can you also update the description to describe how the user must be built (like it is done here too).

@eriwin
Copy link
Author
eriwin commented May 9, 2016

@xabbuh Done. Do you also want me to update this description: https://github.com/symfony/symfony/blob/2.3/src/Symfony/Component/Security/Core/Authentication/Token/PreAuthenticatedToken.php#L29 and if so in this PR or in a different one?

@xabbuh
Copy link
Member
xabbuh commented May 9, 2016

@eriwin You can do that in this PR too.

@fabpot
Copy link
Member
fabpot commented May 9, 2016

Thank you @eriwin.

fabpot added a commit that referenced this pull request May 9, 2016
… constructor for user param (eriwin)

This PR was squashed before being merged into the 2.3 branch (closes #18727).

Discussion
----------

[2.3][Component/Security] Fixed phpdoc in AnonymousToken constructor for user param

| Q             | A
| ------------- | ---
| Branch?       | 2.3
| Bug fix?      | yes, phpdoc one
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Updated phpdoc of AnonymousToken $user param from string to string|object since an object is allowed to in the parent AbstractToken: https://github.com/symfony/symfony/blob/2.3/src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php#L91

Commits
-------

b1c60b4 [2.3][Component/Security] Fixed phpdoc in AnonymousToken constructor for user param
@fabpot fabpot closed this May 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0