Problem/Motivation

PHP Fatal error: Declaration of Drupal\Tests\address_display\Kernel\Formatter\AddressDisplayTest::setUp() must be compatible with Drupal\KernelTests\KernelTestBase::setUp(): void in /var/www/html/modules/contrib/address_display/tests/src/Kernel/Formatter/AddressDisplayTest.php on line 131

Steps to reproduce

Run test on D10.

Proposed resolution

Overridden test methods require void return type hints

Comments

Krzysztof Domański created an issue. See original summary.

krzysztof domański’s picture

Status: Active » Needs review
StatusFileSize
new494 bytes

lamp5’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.