kronusme/dota2-api

View on GitHub
includes/Mappers/LiveMatchMapperDb.php

Summary

Maintainability
A
1 hr
Test Coverage

Method load has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function load($liveMatchId)
    {
        $db = Db::obtain();
        $queryForMatch = 'SELECT * FROM ' . Db::realTablename($this->matchesTable) . ' WHERE match_id=?';
        $queryForSlots = 'SELECT * FROM ' . Db::realTablename($this->slotsTable) . ' WHERE match_id=?';
Severity: Minor
Found in includes/Mappers/LiveMatchMapperDb.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status