diff --git a/.phpcs.xml b/.phpcs.xml index c2e9c299..5b40bf4c 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -1,7 +1,6 @@ - diff --git a/tests/phpunit/TemplateDataBlobTest.php b/tests/phpunit/TemplateDataBlobTest.php index 48afa3fe..3f9cd506 100644 --- a/tests/phpunit/TemplateDataBlobTest.php +++ b/tests/phpunit/TemplateDataBlobTest.php @@ -730,7 +730,7 @@ class TemplateDataBlobTest extends MediaWikiIntegrationTestCase { * @param stdClass $actual * @param string|null $message */ - private function assertStrictJsonEquals( string $expected, stdClass $actual, string $message = null ): void { + private function assertStrictJsonEquals( string $expected, stdClass $actual, ?string $message = null ): void { // Lazy recursive strict comparison: Serialise to JSON and compare that // Sort first to ensure key-order $expected = json_decode( $expected, /* assoc = */ true );