diff options
Diffstat (limited to 'core/tests/Drupal/Tests/ExpectDeprecationTest.php')
-rw-r--r-- | core/tests/Drupal/Tests/ExpectDeprecationTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/tests/Drupal/Tests/ExpectDeprecationTest.php b/core/tests/Drupal/Tests/ExpectDeprecationTest.php index 349a34f015f..df6045b075d 100644 --- a/core/tests/Drupal/Tests/ExpectDeprecationTest.php +++ b/core/tests/Drupal/Tests/ExpectDeprecationTest.php @@ -19,7 +19,7 @@ class ExpectDeprecationTest extends TestCase { /** * Tests expectDeprecation. */ - public function testExpectDeprecation() { + public function testExpectDeprecation(): void { $this->expectDeprecation('Test deprecation'); // phpcs:ignore Drupal.Semantics.FunctionTriggerError @trigger_error('Test deprecation', E_USER_DEPRECATED); @@ -31,7 +31,7 @@ class ExpectDeprecationTest extends TestCase { * @runInSeparateProcess * @preserveGlobalState disabled */ - public function testExpectDeprecationInIsolation() { + public function testExpectDeprecationInIsolation(): void { $this->expectDeprecation('Test isolated deprecation'); // phpcs:ignore Drupal.Semantics.FunctionTriggerError @trigger_error('Test isolated deprecation', E_USER_DEPRECATED); |