The expression return $this->newCopy(ar...ion, 'isSatisfiedBy'))) returns the type Stratadox\Collection\Collection which is incompatible with the documented return type Stratadox\ImmutableCollection\Filtering.
The expression return $this->newCopy(ar...s->items(), $function)) returns the type Stratadox\Collection\Collection which is incompatible with the documented return type Stratadox\ImmutableCollection\Filtering.
Loading history...
44
$this->items(), $function
45
));
46
}
47
48
/** @see Collection::items() */
49
abstract public function items(): array;
50
51
/**
52
* @see ImmutableCollection::newCopy()
53
* @param array $items
54
* @return static
55
*/
56
abstract protected function newCopy(array $items): Collection;