Fix phpstan errors
This commit is contained in:
parent
9abf64b504
commit
addfe15e26
3 changed files with 8 additions and 1 deletions
|
@ -23,7 +23,9 @@ final class PresentationNodeRepository implements PresentationRepositoryInterfac
|
|||
$query->condition('status', NodeInterface::PUBLISHED);
|
||||
|
||||
$nodeIds = $query->execute();
|
||||
assert(is_array($nodeIds));
|
||||
|
||||
/** @var Presentation[] */
|
||||
return $this->nodeStorage->loadMultiple($nodeIds);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue