diff --git a/test/php/gutenberg-coding-standards/Gutenberg/Tests/AbstractSniffUnitTest.php b/test/php/gutenberg-coding-standards/Gutenberg/Tests/AbstractSniffUnitTest.php index f1be5ab00b075..1f08bb3caf778 100644 --- a/test/php/gutenberg-coding-standards/Gutenberg/Tests/AbstractSniffUnitTest.php +++ b/test/php/gutenberg-coding-standards/Gutenberg/Tests/AbstractSniffUnitTest.php @@ -29,7 +29,7 @@ abstract class AbstractSniffUnitTest extends BaseAbstractSniffUnitTest { * This method resets the 'Gutenberg' ruleset in the $GLOBALS['PHP_CODESNIFFER_RULESETS'] * to its original state. */ - public static function tearDownAfterClass() { + public static function tearDownAfterClass(): void { parent::tearDownAfterClass(); $GLOBALS['PHP_CODESNIFFER_RULESETS']['Gutenberg'] = static::$original_ruleset;