Skip to content
Snippets Groups Projects
Commit 3f262081 authored by Pooja Ganjage's avatar Pooja Ganjage Committed by Joël Pittet
Browse files

Issue #3192405 by Pooja Ganjage, thalles, joelpittet: Declaring ::setUp...

Issue #3192405 by Pooja Ganjage, thalles, joelpittet: Declaring ::setUp without a void return typehint
parent ad41d4e9
Branches
Tags
No related merge requests found
......@@ -39,7 +39,7 @@ class DisplayTest extends BrowserTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$account = $this->drupalCreateUser(['administer blocks']);
......
......@@ -34,7 +34,7 @@ class EntityMaskTest extends KernelTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->installConfig(['block_content', 'entity_mask_test']);
$this->installEntitySchema('fake_block_content');
......
......@@ -45,7 +45,7 @@ class CToolsViewsBasicViewBlockTest extends UITestBase {
/**
* {@inheritdoc}
*/
protected function setUp($import_test_views = TRUE) {
protected function setUp($import_test_views = TRUE): void {
parent::setUp($import_test_views);
ViewTestData::createTestViews(get_class($this), ['ctools_views_test_views']);
......
......@@ -42,7 +42,7 @@ class EntityViewTest extends KernelTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->installConfig(['filter']);
......
......@@ -37,7 +37,7 @@ abstract class RelationshipsTestBase extends KernelTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->installSchema('system', ['sequences']);
......
......@@ -21,7 +21,7 @@ class SerializableTempstoreTest extends KernelTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->installSchema('system', ['key_value_expire']);
}
......
......@@ -32,7 +32,7 @@ class TypedDataResolverTest extends KernelTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->installSchema('system', 'sequences');
......
......@@ -41,7 +41,7 @@ class ContextMapperTest extends UnitTestCase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->typedDataManager = $this->prophesize(TypedDataManager::class);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment