Enhancement: Automatic Relation Resolution #26
Annotations
10 errors and 1 warning
Static code analysis:
src/StoriesResolvedApi.php#L50
Parameter #2 $relations of method Storyblok\Api\Resolver\ResolverInterface::resolve() expects array<int, array<string, mixed>>, array<int, string> given.
|
Static code analysis:
src/StoriesResolvedApi.php#L79
Parameter #2 $relations of method Storyblok\Api\Resolver\ResolverInterface::resolve() expects array<int, array<string, mixed>>, array<int, string> given.
|
Static code analysis:
src/StoriesResolvedApi.php#L94
Parameter #2 $language (string) of method Storyblok\Api\StoriesResolvedApi::bySlug() is not contravariant with parameter #2 $request (Storyblok\Api\Request\StoryRequest|null) of method Storyblok\Api\StoriesApiInterface::bySlug().
|
Static code analysis:
src/StoriesResolvedApi.php#L96
Method Storyblok\Api\StoriesApiInterface::bySlug() invoked with 4 parameters, 1-2 required.
|
Static code analysis:
src/StoriesResolvedApi.php#L96
Parameter #2 $request of method Storyblok\Api\StoriesApiInterface::bySlug() expects Storyblok\Api\Request\StoryRequest|null, string given.
|
Static code analysis:
src/StoriesResolvedApi.php#L108
Parameter #2 $language (string) of method Storyblok\Api\StoriesResolvedApi::byUuid() is not contravariant with parameter #2 $request (Storyblok\Api\Request\StoryRequest|null) of method Storyblok\Api\StoriesApiInterface::byUuid().
|
Static code analysis:
src/StoriesResolvedApi.php#L110
Method Storyblok\Api\StoriesApiInterface::byUuid() invoked with 4 parameters, 1-2 required.
|
Static code analysis:
src/StoriesResolvedApi.php#L110
Parameter #2 $request of method Storyblok\Api\StoriesApiInterface::byUuid() expects Storyblok\Api\Request\StoryRequest|null, string given.
|
Static code analysis:
src/StoriesResolvedApi.php#L122
Parameter #2 $language (string) of method Storyblok\Api\StoriesResolvedApi::byId() is not contravariant with parameter #2 $request (Storyblok\Api\Request\StoryRequest|null) of method Storyblok\Api\StoriesApiInterface::byId().
|
Static code analysis:
src/StoriesResolvedApi.php#L124
Method Storyblok\Api\StoriesApiInterface::byId() invoked with 4 parameters, 1-2 required.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading