diff options
author | Umherirrender <umherirrender_de.wp@web.de> | 2019-11-18 19:58:07 +0100 |
---|---|---|
committer | Umherirrender <umherirrender_de.wp@web.de> | 2019-11-20 19:20:38 +0100 |
commit | a1f0be1c210ff1daf94988dad79d952b6c913dab (patch) | |
tree | 9744f5a0fc2e93aad70e0112ac1f52651b9f449d /tests/phpunit/includes/diff/TextSlotDiffRendererTest.php | |
parent | 3fb1bd2c726f813510980bdc1b7cb72d51b439fb (diff) | |
download | mediawikicore-a1f0be1c210ff1daf94988dad79d952b6c913dab.tar.gz mediawikicore-a1f0be1c210ff1daf94988dad79d952b6c913dab.zip |
Use nullable type in function signature
Enable the sniff
Change-Id: I9fff860706b0ffb99bb9e78ff26d15bc7c87bdb4
Diffstat (limited to 'tests/phpunit/includes/diff/TextSlotDiffRendererTest.php')
-rw-r--r-- | tests/phpunit/includes/diff/TextSlotDiffRendererTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/diff/TextSlotDiffRendererTest.php b/tests/phpunit/includes/diff/TextSlotDiffRendererTest.php index 8b0354d1642b..570cedea70e6 100644 --- a/tests/phpunit/includes/diff/TextSlotDiffRendererTest.php +++ b/tests/phpunit/includes/diff/TextSlotDiffRendererTest.php @@ -16,7 +16,7 @@ class TextSlotDiffRendererTest extends MediaWikiTestCase { * @throws Exception */ public function testGetDiff( - array $oldContentArgs = null, array $newContentArgs = null, $expectedResult + ?array $oldContentArgs, ?array $newContentArgs, $expectedResult ) { $this->mergeMwGlobalArrayValue( 'wgContentHandlers', [ 'testing' => DummyContentHandlerForTesting::class, |