Skip to content

refactor: ECS code cleanup #279

refactor: ECS code cleanup

refactor: ECS code cleanup #279

Triggered via push July 19, 2024 06:52
Status Failure
Total duration 10m 40s
Artifacts
Matrix: code_analysis
Fit to window
Zoom out
Zoom in

Annotations

5 errors
PHPStan: src/gql/resolvers/SitemapResolver.php#L173
PHPDoc tag @return with type string is incompatible with native type array.
PHPStan: src/gql/resolvers/SitemapResolver.php#L186
Parameter #1 $seoElementClass of static method nystudio107\seomatic\helpers\Sitemap::getTotalElementsInSitemap() expects string, nystudio107\seomatic\base\SeoElementInterface|null given.
PHPStan: src/gql/resolvers/SitemapResolver.php#L187
Variable $pageSize in empty() always exists and is not falsy.
PHPStan: src/models/SitemapIndexTemplate.php#L195
Parameter #1 $seoElementClass of static method nystudio107\seomatic\helpers\Sitemap::getTotalElementsInSitemap() expects string, nystudio107\seomatic\base\SeoElementInterface given.
PHPStan
Process completed with exit code 1.