Skip to content

[Lock] Fix return typehint #33035

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
Aug 8, 2019
Merged

Conversation

jderusse
Copy link
Member

@jderusse jderusse commented Aug 8, 2019

Q A
Branch? master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets NA
License MIT
Doc PR NA

Return typehint added in #31996

ping @dFayet

@jderusse jderusse changed the title Fix return typehint in Lock [Lock] Fix return typehint Aug 8, 2019
@xabbuh xabbuh added the Lock label Aug 8, 2019
@xabbuh xabbuh added this to the 5.0 milestone Aug 8, 2019
@dFayet
Copy link

dFayet commented Aug 8, 2019

@jderusse For my culture, in which case do you get a return null?

@jderusse
Copy link
Member Author

jderusse commented Aug 8, 2019

@dFayet You shouldn't. That's why I removed the ?

@dFayet
Copy link

dFayet commented Aug 8, 2019

I misread your commit 😅 ... have a nice day :-)

@nicolas-grekas
Copy link
Member

Thank you @jderusse.

@nicolas-grekas nicolas-grekas merged commit e28ffe8 into symfony:master Aug 8, 2019
nicolas-grekas added a commit that referenced this pull request Aug 8, 2019
This PR was merged into the 5.0-dev branch.

Discussion
----------

[Lock] Fix return typehint

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | NA
| License       | MIT
| Doc PR        | NA

Return typehint added in #31996

ping @dFayet

Commits
-------

e28ffe8 Fix return typehint in Lock
@jderusse jderusse deleted the fix-return-type branch August 8, 2019 11:36
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.

6 participants