Skip to content

Add a note about which types can be used in Symfony #3802

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

Merged
merged 1 commit into from
May 8, 2014

Conversation

fabpot
Copy link
Member

@fabpot fabpot commented Apr 15, 2014

Q A
Doc fix? no
New docs? no
Applies to all
Fixed tickets n/a

see symfony/symfony#10701

@xabbuh
Copy link
Member

xabbuh commented Apr 15, 2014

👍

more subjective naming considerations;

* For type-hinting in PHPDocs and casting, PHP supports several alternatives
for some types but Symfony standardizes on one: use ``bool`` (instead of
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should make it consistent with the other standards and use something like "For type-hinting in PHPdocs and castings, use bool (instead of boolean or Boolean) [...]"

Also, I think this should be above the last item, since that one is kind of a "read more" item.

@weaverryan weaverryan merged commit bf9d509 into symfony:2.3 May 8, 2014
weaverryan added a commit that referenced this pull request May 8, 2014
This PR was merged into the 2.3 branch.

Discussion
----------

Add a note about which types can be used in Symfony

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | no
| Applies to    | all
| Fixed tickets | n/a

see symfony/symfony#10701

Commits
-------

bf9d509 added a note about types we support
@fabpot fabpot deleted the Boolean branch July 3, 2014 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants