ComposableSchema::getResolverRegistry has incorrect return type declaration

Created on 21 May 2025, about 2 months ago

Problem/Motivation

ComposableSchema::getResolverRegistry declares ResolverRegistry as return type, while it implements the SchemaPluginInterface. In the Interface the return type is ResolverRegistryInterface.

When extending ComposableSchema and overriding getResolverRegistry phpstan is complaining about this inconsistency.

Proposed resolution

Declare the return type of ComposableSchema::getResolverRegistry as the Interface expects it to be.

📌 Task
Status

Active

Version

5.0

Component

Code

Created by

🇩🇪Germany daniel.bosen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024