backend/src/HistoricalMeteorological/Service/EntryService.php
Showing 3 of 3 total issues
The method getEntries uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
Open
} else { $queryBuilder->andWhere('e.year = :yearFrom'); }
- Read upRead up
- Exclude checks
Blank line found at end of control structure Open
Open
- Exclude checks
Line exceeds 120 characters; contains 125 characters Open
Open
public function getEntryListByLocationAndYearRange(Location $location, int $yearFrom, int $yearTo = null):EntryCollection
- Exclude checks