Configure phpcs, fix errors
This commit is contained in:
parent
fcf0ae04bb
commit
af83b3c431
5 changed files with 37 additions and 2 deletions
|
@ -36,7 +36,7 @@ readonly final class Events implements \Countable, \IteratorAggregate {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param non-empty-string[] $events
|
||||
* @param non-empty-string[] $dates
|
||||
*/
|
||||
public static function fromDateStrings(string ...$dates): self {
|
||||
$events = array_map(
|
||||
|
|
|
@ -18,6 +18,7 @@ trait PresentationCreationTrait {
|
|||
|
||||
/**
|
||||
* @param Event[] $events
|
||||
* @param bool $isPublished
|
||||
*/
|
||||
private function createPresentation(Events $events, bool $isPublished = TRUE): Presentation {
|
||||
$presentation = $this->createNode([
|
||||
|
@ -47,4 +48,3 @@ trait PresentationCreationTrait {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue