All test method should have a void return type

This commit is contained in:
Oliver Davies 2020-12-17 23:14:49 +00:00
parent 8591a0f846
commit 280a381c68
4 changed files with 8 additions and 8 deletions

View file

@ -7,7 +7,7 @@ use Drupal\paragraphs\ParagraphInterface;
final class EventsAreReorderedByDateTest extends TalksTestBase {
public function testCreatingNode() {
public function testCreatingNode(): void {
$events = [
$this->createEvent([
'field_date' => Carbon::today()->addWeeks(2),
@ -50,7 +50,7 @@ final class EventsAreReorderedByDateTest extends TalksTestBase {
);
}
public function testUpdatingNode() {
public function testUpdatingNode(): void {
$events = [
$this->createEvent([
'field_date' => Carbon::today()->addWeeks(2),