diff options
author | Umherirrender <umherirrender_de.wp@web.de> | 2021-02-07 14:10:36 +0100 |
---|---|---|
committer | Krinkle <krinklemail@gmail.com> | 2021-02-09 02:55:57 +0000 |
commit | a1de8b8700f4aa9e27bb571fac1705ff8dac161a (patch) | |
tree | 504ec50953e1bc7fbd92fb2959564ddce02062a0 /tests/phpunit/unit/includes/diff/ArrayDiffFormatterTest.php | |
parent | 20f44cb1ea0fc957c83e01e438b4c4fc04053fb7 (diff) | |
download | mediawikicore-a1de8b8700f4aa9e27bb571fac1705ff8dac161a.tar.gz mediawikicore-a1de8b8700f4aa9e27bb571fac1705ff8dac161a.zip |
Tests: Mark more more closures as static
Result of a new sniff I25a17fb22b6b669e817317a0f45051ae9c608208
Bug: T274036
Change-Id: I695873737167a75f0d94901fa40383a33984ca55
Diffstat (limited to 'tests/phpunit/unit/includes/diff/ArrayDiffFormatterTest.php')
-rw-r--r-- | tests/phpunit/unit/includes/diff/ArrayDiffFormatterTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/unit/includes/diff/ArrayDiffFormatterTest.php b/tests/phpunit/unit/includes/diff/ArrayDiffFormatterTest.php index e9992026db0a..45d9afc0a4a9 100644 --- a/tests/phpunit/unit/includes/diff/ArrayDiffFormatterTest.php +++ b/tests/phpunit/unit/includes/diff/ArrayDiffFormatterTest.php @@ -43,7 +43,7 @@ class ArrayDiffFormatterTest extends \MediaWikiUnitTestCase { $diffOp->expects( $this->any() ) ->method( 'getClosing' ) ->with( $this->isType( 'integer' ) ) - ->will( $this->returnCallback( function () { + ->will( $this->returnCallback( static function () { return 'mockLine'; } ) ); } else { |