Update codestyle based on updated Symfony rules (#229)
This commit is contained in:
parent
e485fde727
commit
c081b90d74
1 changed files with 165 additions and 168 deletions
|
|
@ -344,10 +344,10 @@ final class Registry implements RegistryInterface
|
|||
public function getDiscoveryState(): DiscoveryState
|
||||
{
|
||||
return new DiscoveryState(
|
||||
tools: array_filter($this->tools, fn ($tool) => !$tool->isManual),
|
||||
resources: array_filter($this->resources, fn ($resource) => !$resource->isManual),
|
||||
prompts: array_filter($this->prompts, fn ($prompt) => !$prompt->isManual),
|
||||
resourceTemplates: array_filter($this->resourceTemplates, fn ($template) => !$template->isManual),
|
||||
tools: array_filter($this->tools, static fn ($tool) => !$tool->isManual),
|
||||
resources: array_filter($this->resources, static fn ($resource) => !$resource->isManual),
|
||||
prompts: array_filter($this->prompts, static fn ($prompt) => !$prompt->isManual),
|
||||
resourceTemplates: array_filter($this->resourceTemplates, static fn ($template) => !$template->isManual),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue