Skip to content

[Cache] Add types to private properties #42025

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
Jul 9, 2021

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Jul 8, 2021

Q A
Branch? 6.0
Bug fix? no
New feature? no
Deprecations? no
Tickets N/A
License MIT
Doc PR N/A

@carsonbot
Copy link

Hey!

I think @fancyweb has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

@derrabus derrabus force-pushed the types/cache-properties branch from c3f8dd7 to 7c435ad Compare July 9, 2021 12:32
Signed-off-by: Alexander M. Turek <me@derrabus.de>
@derrabus derrabus force-pushed the types/cache-properties branch from 7c435ad to 3516fc6 Compare July 9, 2021 13:35
@stof
Copy link
Member

stof commented Jul 9, 2021

Why does Psalm report that PdoAdapter::doSave returns null in some cases ?

@nicolas-grekas
Copy link
Member

Why does Psalm report that PdoAdapter::doSave returns null in some cases ?

because it doesn't know that the code is always going to enter a foreach.

@nicolas-grekas
Copy link
Member

Thank you @derrabus.

@nicolas-grekas nicolas-grekas merged commit 30507bd into symfony:6.0 Jul 9, 2021
@derrabus derrabus deleted the types/cache-properties branch July 9, 2021 15:51
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