Configure phpcs, fix errors

This commit is contained in:
Oliver Davies 2025-06-15 16:31:51 +01:00
parent fcf0ae04bb
commit af83b3c431
5 changed files with 37 additions and 2 deletions

View file

@ -13,6 +13,7 @@ trait DailyEmailTestTrait {
/**
* @param non-empty-string $title
* @param bool $isPublished
*/
protected function createDailyEmailNode(
string $title,

View file

@ -75,4 +75,5 @@ class PodcastTokenTest extends BrowserTestBase {
'type' => Episode::NODE_TYPE,
]);
}
}

View file

@ -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(

View file

@ -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 {
}
}