ampache/ampache

View on GitHub
src/Repository/PreferenceRepository.php

Summary

Maintainability
A
0 mins
Test Coverage

syntax error, unexpected ']', expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING)
Open

            $results[] = [
Severity: Critical
Found in src/Repository/PreferenceRepository.php by phan

Possible parse error: class missing opening or closing brace
Open

final class PreferenceRepository implements PreferenceRepositoryInterface

Possible parse error: class missing opening or closing brace
Open

final class PreferenceRepository implements PreferenceRepositoryInterface

Line indented incorrectly; expected 0 spaces, found 4
Open

    public function getAll(?User $user = null): array

Line indented incorrectly; expected 0 spaces, found 8
Open

        if ($user !== null) {

Line indented incorrectly; expected 0 spaces, found 8
Open

        }

There are no issues that match your filters.

Category
Status