Skip to content

Conversation

soyuka
Copy link
Member

@soyuka soyuka commented Dec 17, 2020

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tickets na
License MIT
Doc PR tbd

See also #3617

@soyuka soyuka force-pushed the fix/messenger-persist branch 2 times, most recently from bb0a025 to d92f134 Compare December 17, 2020 15:29
if (!$match && $persister->supports($data, $context)) {
$match = $persister;
$this->persistersResponse[\get_class($persister)] = true;
if (($this->persistersResponse[\get_class($persister)] = $found ? false : $persister->supports($data)) && !($persister instanceof ResumableDataPersisterInterface && $persister->resumable()) && !$found) {
Copy link
Contributor

Choose a reason for hiding this comment

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

For readability, could you split this condition in multilines?

@soyuka soyuka force-pushed the fix/messenger-persist branch from d92f134 to 0905bc5 Compare December 17, 2020 18:27
@soyuka soyuka merged commit 126e65d into api-platform:master Dec 19, 2020
@soyuka soyuka deleted the fix/messenger-persist branch December 19, 2020 08:58
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.

2 participants