src/Student.php
Method registrationSearch
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function registrationSearch($year, $quarter, array $extraSearchTerms = [])
{
if (is_numeric($year) === false || $year < 1950 || $year > 2100) {
throw new \Exception("Please provide a numeric year between 1950 and 2100");
Method fromIdentifier
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function fromIdentifier($identifierKey, $identifierValue)
{
/** @var null|Person $student */
$student = parent::fromIdentifier($identifierKey, $identifierValue);