data-access/src/SingleEntitySourceServices.php
Method __construct
has 14 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
EntityIdParser $entityIdParser,
EntityIdComposer $entityIdComposer,
Deserializer $dataValueDeserializer,
NameTableStore $slotRoleStore,
DataAccessSettings $dataAccessSettings,
Method getEntityMetaDataAccessor
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function getEntityMetaDataAccessor(): PrefetchingWikiPageEntityMetaDataAccessor {
if ( $this->entityMetaDataAccessor === null ) {
$entityNamespaceLookup = new EntityNamespaceLookup(
$this->entitySource->getEntityNamespaceIds(),
$this->entitySource->getEntitySlotNames()