VSVverkeerskunde/gvq-api

View on GitHub
src/Quiz/Serializers/QuizNormalizer.php

Summary

Maintainability
A
1 hr
Test Coverage

Method normalize has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function normalize($quiz, $format = null, array $context = []): array
    {
        $questions = array_map(
            function (Question $question) use ($format) {
                return $this->questionNormalizer->normalize(
Severity: Minor
Found in src/Quiz/Serializers/QuizNormalizer.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status