refactor: ECS code cleanup #280
Annotations
6 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/helpers/Field.php#L64
Class besteadfast\preparsefield\fields\PreparseFieldType not found.
|
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.
|