build: Updating mediawiki/mediawiki-phan-config to 0.12.0

Change-Id: I8b7a32686e4ead725539c449a58d58c86e58783c
This commit is contained in:
libraryupgrader 2022-10-09 06:29:11 +00:00 committed by Daimona Eaytoy
parent c82e9291d3
commit 049deca5d7
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{
"require-dev": {
"mediawiki/mediawiki-codesniffer": "39.0.0",
"mediawiki/mediawiki-phan-config": "0.11.1",
"mediawiki/mediawiki-phan-config": "0.12.0",
"mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.3.2"

View file

@ -49,7 +49,7 @@ class Matrix extends TexNode {
}
private function renderMatrix( $matrix ) {
$mapped = array_map( 'self::renderLine', $matrix->args );
$mapped = array_map( [ self::class, 'renderLine' ], $matrix->args );
return implode( '\\\\', $mapped );
}
@ -79,7 +79,7 @@ class Matrix extends TexNode {
return $a;
}
$reduced = array_reduce( $a, 'self::reduceCallback', [] );
$reduced = array_reduce( $a, [ self::class, 'reduceCallback' ], [] );
return $reduced;
}