Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[HttpFoundation] BinaryFileResponse sendContent return as parent. (2.3)#17757

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@SpacePossum
Copy link
Contributor

QA
Bug fix?no
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
LicenseMIT

BinaryFileResponse extendsResponse and overrides thesendContent-method. It would be nice if it also returns as the parent does, i.e. itself. This makes it easier to deal with diff.Response classes.
The other fixes are to make SCA easier. No BC-breaks AFAIK.

@xabbuh
Copy link
Member

👍

Status: Reviewed

@fabpot
Copy link
Member

Thank you@SpacePossum.

@fabpotfabpot merged commit120dfe4 intosymfony:2.3Feb 11, 2016
fabpot added a commit that referenced this pull requestFeb 11, 2016
…parent. (2.3) (SpacePossum)This PR was merged into the 2.3 branch.Discussion----------[HttpFoundation] BinaryFileResponse sendContent return as parent. (2.3)| Q             | A| ------------- | ---| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| License       | MIT`BinaryFileResponse` extends `Response` and overrides the `sendContent`-method. It would be nice if it also returns as the parent does, i.e. itself. This makes it easier to deal with diff. `Response` classes.The other fixes are to make SCA easier. No BC-breaks AFAIK.Commits-------120dfe4 sendContent return as parent.
@SpacePossumSpacePossum deleted the 2_3_BinaryFileResponse_return branchFebruary 11, 2016 10:13
This was referencedFeb 28, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@SpacePossum@xabbuh@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp