We could not do that before, because it would make Psalm crash.
Showing 2 of 2 files from the diff.
@@ -614,7 +614,7 @@
Loading
614 | 614 | * |
|
615 | 615 | * @return Collection<TKey, T>&Selectable<TKey, T> |
|
616 | 616 | */ |
|
617 | - | public function unwrap(): Collection |
|
617 | + | public function unwrap(): Collection&Selectable |
|
618 | 618 | { |
|
619 | 619 | assert($this->collection instanceof Collection); |
|
620 | 620 | assert($this->collection instanceof Selectable); |
@@ -80,7 +80,7 @@
Loading
80 | 80 | } |
|
81 | 81 | ||
82 | 82 | /** @return ReadableCollection<TKey, TValue>&Selectable<TKey, TValue> */ |
|
83 | - | public function matching(Criteria $criteria): ReadableCollection |
|
83 | + | public function matching(Criteria $criteria): ReadableCollection&Selectable |
|
84 | 84 | { |
|
85 | 85 | $this->initialize(); |
|
86 | 86 | assert($this->collection instanceof Selectable); |
Files | Coverage |
---|---|
lib/Doctrine/ORM | 89.64% |
Project Totals (330 files) | 89.64% |
3615160101
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.