Fix phpstan errors
This commit is contained in:
parent
af83b3c431
commit
229cc62b03
8 changed files with 16 additions and 17 deletions
|
@ -16,10 +16,6 @@ trait PresentationCreationTrait {
|
|||
use EntityCreationTrait;
|
||||
use NodeCreationTrait;
|
||||
|
||||
/**
|
||||
* @param Event[] $events
|
||||
* @param bool $isPublished
|
||||
*/
|
||||
private function createPresentation(Events $events, bool $isPublished = TRUE): Presentation {
|
||||
$presentation = $this->createNode([
|
||||
'field_events' => $events->toEvents(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue