sonata-project / SonataDoctrineORMAdminBundle

@@ -61,8 +61,9 @@
Loading
61 61
62 62
    protected function association(ProxyQueryInterface $query, FilterData $data): array
63 63
    {
64 -
        $alias = $query->entityJoin($this->getParentAssociationMappings());
64 +
        $alias = $this->getOption('alias', $query->entityJoin($this->getParentAssociationMappings()));
65 +
        \assert(\is_string($alias));
65 66
66 -
        return [$this->getOption('alias', $alias), $this->getFieldName()];
67 +
        return [$alias, $this->getFieldName()];
67 68
    }
68 69
}
Files Complexity Coverage
src 481 81.46%
Project Totals (39 files) 481 81.46%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading