mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-28 01:10:09 +00:00
build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049 Change-Id: I202d0b41c217498b0697eb9237c9f18725b7224d
This commit is contained in:
parent
79605e6be8
commit
b2e2a7b1a2
|
@ -4,7 +4,7 @@
|
||||||
"mediawiki/mediawiki-codesniffer": "28.0.0",
|
"mediawiki/mediawiki-codesniffer": "28.0.0",
|
||||||
"jakub-onderka/php-console-highlighter": "0.3.2",
|
"jakub-onderka/php-console-highlighter": "0.3.2",
|
||||||
"mediawiki/minus-x": "0.3.1",
|
"mediawiki/minus-x": "0.3.1",
|
||||||
"mediawiki/mediawiki-phan-config": "0.6.1"
|
"mediawiki/mediawiki-phan-config": "0.8.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": [
|
"test": [
|
||||||
|
|
|
@ -30,6 +30,7 @@ class MathMathML extends MathRenderer {
|
||||||
/** @var string|bool */
|
/** @var string|bool */
|
||||||
private $pngPath = false;
|
private $pngPath = false;
|
||||||
|
|
||||||
|
/** @var string|null */
|
||||||
private $mathoidStyle;
|
private $mathoidStyle;
|
||||||
|
|
||||||
public function __construct( $tex = '', $params = [] ) {
|
public function __construct( $tex = '', $params = [] ) {
|
||||||
|
@ -66,6 +67,9 @@ class MathMathML extends MathRenderer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param array[] $tags
|
||||||
|
*/
|
||||||
public static function batchEvaluate( array $tags ) {
|
public static function batchEvaluate( array $tags ) {
|
||||||
$rbis = [];
|
$rbis = [];
|
||||||
foreach ( $tags as $key => $tag ) {
|
foreach ( $tags as $key => $tag ) {
|
||||||
|
|
|
@ -405,7 +405,7 @@ class MathRestbaseInterface {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return mixed
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getMathoidStyle() {
|
public function getMathoidStyle() {
|
||||||
return $this->mathoidStyle;
|
return $this->mathoidStyle;
|
||||||
|
|
Loading…
Reference in a new issue