Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Symfony/Maker/Resources/skeleton/StateProcessor.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

class <?php echo $class_name; ?> implements ProcessorInterface
{
public function process(mixed $data, Operation $operation, array $uriVariables = [], array $context = []): void
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.

}
}
Loading