Refactor
This commit is contained in:
parent
14cd79a960
commit
0871649c05
3 changed files with 4 additions and 2 deletions
|
@ -21,7 +21,7 @@ trait PresentationCreationTrait {
|
|||
private function createPresentation(array $events): Presentation {
|
||||
$presentation = $this->createNode([
|
||||
'field_events' => $events,
|
||||
'type' => 'presentation',
|
||||
'type' => Presentation::NODE_TYPE,
|
||||
]);
|
||||
|
||||
assert($presentation instanceof Presentation);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue