title | issue |
---|---|
Add symplify phpstan naming rules |
NEXT-25940 |
- Added symplify phpstan naming rules
- Deprecated methods
setNextLanguage()
andsetNextDefinition()
in\Shopware\Elasticsearch\Framework\Indexing\IndexerOffset
, useselectNextLanguage()
orselectNextDefinition()
instead. - Deprecated method
\Shopware\Core\Checkout\Document\Renderer\RenderedDocument::setContent()
, it won't return any value in the future.
The methods setNextLanguage()
and setNextDefinition()
in \Shopware\Elasticsearch\Framework\Indexing\IndexerOffset
are removed, use selectNextLanguage()
or selectNextDefinition()
instead.
Before:
$offset->setNextLanguage($languageId);
$offset->setNextDefinition($definition);
After:
$offset->selectNextLanguage($languageId);
$offset->selectNextDefinition($definition);