'articles' of type string is incompatible with the type Innmind\Immutable\T expected by parameter $key of Innmind\Immutable\MapInterface::get().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
45
->get(/** @scrutinizer ignore-type */ 'articles')
Loading history...
46
1
->content()
47
1
->filter(function(Article $article): bool {
48
1
return !$this->articles->has($article->link());
49
1
})
50
1
->foreach(function(Article $article) use ($subscription): void {