Skip to content

Conversation

@Cruiser13
Copy link

Q A
Branch? stable
Tickets Might prevent issues as in #6771
License MIT
Doc PR -

API Platform 3.4+ needs to return the processor

Should now target the proper branch too

API Platform 3.4+ needs to return the processor
public function process(mixed $data, Operation $operation, array $uriVariables = [], array $context = []): mixed
{
// Handle the state
// Handle the state and return the inner processor
Copy link
Member

Choose a reason for hiding this comment

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

this is only in case of decorating another provider, a provider can definitely return void.

@Cruiser13
Copy link
Author

Looks like we do not always need that in this case

@Cruiser13 Cruiser13 closed this Nov 14, 2024
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