Issue #3131402 by longwave, jungle, Berdir: Remove return type hints from abstract test classes

merge-requests/2419/head
Alex Pott 2020-04-28 09:14:16 +01:00
parent bd64783975
commit 9632fb98a1
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
7 changed files with 7 additions and 7 deletions

View File

@ -52,7 +52,7 @@ abstract class LocaleUpdateBase extends BrowserTestBase {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
protected function setUp(): void { protected function setUp() {
parent::setUp(); parent::setUp();
// Setup timestamps to identify old and new translation sources. // Setup timestamps to identify old and new translation sources.

View File

@ -56,7 +56,7 @@ trait MediaFunctionalTestTrait {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
protected function setUp(): void { protected function setUp() {
parent::setUp(); parent::setUp();
// Have two users ready to be used in tests. // Have two users ready to be used in tests.

View File

@ -14,7 +14,7 @@ abstract class MediaSourceTestBase extends MediaJavascriptTestBase {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
protected function setUp(): void { protected function setUp() {
parent::setUp(); parent::setUp();
// Let's set the canonical flag in the base class of the source tests, // Let's set the canonical flag in the base class of the source tests,

View File

@ -24,7 +24,7 @@ abstract class MigrateProcessTestCase extends MigrateTestCase {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
protected function setUp(): void { protected function setUp() {
$this->row = $this->getMockBuilder('Drupal\migrate\Row') $this->row = $this->getMockBuilder('Drupal\migrate\Row')
->disableOriginalConstructor() ->disableOriginalConstructor()
->getMock(); ->getMock();

View File

@ -28,7 +28,7 @@ abstract class MigrationLookupTestCase extends MigrateProcessTestCase {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
protected function setUp(): void { protected function setUp() {
parent::setUp(); parent::setUp();
$this->migrateStub = $this->prophesize(MigrateStub::class); $this->migrateStub = $this->prophesize(MigrateStub::class);
$this->migrateLookup = $this->prophesize(MigrateLookupInterface::class); $this->migrateLookup = $this->prophesize(MigrateLookupInterface::class);

View File

@ -39,7 +39,7 @@ abstract class TourTestBasic extends TourTestBase {
*/ */
protected $permissions = ['access tour']; protected $permissions = ['access tour'];
protected function setUp(): void { protected function setUp() {
parent::setUp(); parent::setUp();
// Make sure we are using distinct default and administrative themes for // Make sure we are using distinct default and administrative themes for

View File

@ -37,7 +37,7 @@ abstract class MTimeProtectedFileStorageBase extends PhpStorageTestBase {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
protected function setUp(): void { protected function setUp() {
parent::setUp(); parent::setUp();
// Random generator. // Random generator.