Skip to content

Commit 8bad011

Browse files
committed
Declaring ::setUp without a void return typehint is deprecated
1 parent 6e2fb5b commit 8bad011

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tests/src/Functional/ApiDocsAdminTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ protected function setupMenus() {
6868
/**
6969
* {@inheritdoc}
7070
*/
71-
protected function setUp() {
71+
protected function setUp(): void {
7272
parent::setUp();
7373

7474
// Add the system menu blocks to appropriate regions.

tests/src/Functional/ApiDocsJsonApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class ApiDocsJsonApi extends BrowserTestBase {
6767
/**
6868
* {@inheritdoc}
6969
*/
70-
protected function setUp() {
70+
protected function setUp(): void {
7171
parent::setUp();
7272

7373
$nodeStorage = $this->container->get('entity_type.manager')->getStorage('node');

tests/src/Functional/SmartdocRoutingTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class SmartdocRoutingTest extends BrowserTestBase {
5454
/**
5555
* {@inheritdoc}
5656
*/
57-
protected function setUp() {
57+
protected function setUp(): void {
5858
parent::setUp();
5959

6060
$this->apidoc = $this->container->get('entity_type.manager')

tests/src/Kernel/ApidocEntityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class ApidocEntityTest extends KernelTestBase {
6565
/**
6666
* {@inheritdoc}
6767
*/
68-
protected function setUp() {
68+
protected function setUp(): void {
6969
parent::setUp();
7070

7171
$this->installSchema('user', ['users_data']);

0 commit comments

Comments
 (0)