All test method should have a void return type
This commit is contained in:
parent
8591a0f846
commit
280a381c68
4 changed files with 8 additions and 8 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue