open-orchestra/open-orchestra-model-interface

View on GitHub

Showing 4 of 4 total issues

Method findByHistoryAndSiteId has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

        $id,
        $siteId,
        array $eventTypes = null,
        $published = null,
        $limit = null,
Severity: Major
Found in ModelInterface/Repository/ContentRepositoryInterface.php - About 50 mins to fix

Method removeBlockInArea has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function removeBlockInArea($blockId, $areaName, $nodeId, $siteId, $language, $version);
Severity: Minor
Found in ModelInterface/Repository/NodeRepositoryInterface.php - About 45 mins to fix

Method findByHistoryAndSiteId has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function findByHistoryAndSiteId($id, $siteId, array $eventTypes = null, $published = null, $limit = null, array $sort = null);
Severity: Minor
Found in ModelInterface/Repository/NodeRepositoryInterface.php - About 45 mins to fix

Method findByContentTypeAndCondition has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function findByContentTypeAndCondition($language, $contentType = '', $choiceType = self::CHOICE_AND, $condition = null,  $siteId = null);
Severity: Minor
Found in ModelInterface/Repository/ReadContentRepositoryInterface.php - About 35 mins to fix
Severity
Category
Status
Source
Language