refactor: ECS code cleanup #279
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.
|