Skip to content

Fixed the signature of prepend method in the code example #7240

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 1 commit into from

Conversation

a-ast
Copy link
Contributor

@a-ast a-ast commented Dec 10, 2016

PrependExtensionInterface::prepend has one parameter: $container. From the current example it is not clear how $container appeared in the method body. Anyway, it is better to have here correct code examples.

`PrependExtensionInterface::prepend` has one parameter: `$container`. From the current example it is not clear how `$container` appeared in the method body. Anyway, it is better to have here correct code examples.
@ogizanagi
Copy link
Contributor

👍

Status: Reviewed

Copy link
Member

@javiereguiluz javiereguiluz left a comment

Choose a reason for hiding this comment

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

👍 nice!

@xabbuh
Copy link
Member

xabbuh commented Dec 12, 2016

Good catch, thanks @a-ast.

xabbuh added a commit that referenced this pull request Dec 12, 2016
… (a-ast)

This PR was submitted for the 3.2 branch but it was merged into the 2.7 branch instead (closes #7240).

Discussion
----------

Fixed the signature of prepend method in the code example

`PrependExtensionInterface::prepend` has one parameter: `$container`. From the current example it is not clear how `$container` appeared in the method body. Anyway, it is better to have here correct code examples.

Commits
-------

9f77757 Fixed the signature of prepend method in the code example
@xabbuh xabbuh closed this Dec 12, 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.

5 participants