Skip to content

Commit

Permalink
Child method must be compatible with the parent method.
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-vlasenko committed Jan 3, 2025
1 parent b46a702 commit 3a86e43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3a86e43

Please sign in to comment.