Fix "@param $…" missing the type
Change-Id: I8d20ae852100a6ecc39df05eab3aa8e2b9c09480
This commit is contained in:
parent
d5a3fd8a16
commit
97000ed8b0
|
@ -585,7 +585,6 @@ abstract class MathRenderer {
|
|||
}
|
||||
|
||||
/**
|
||||
* @global $wgMathDisableTexFilter
|
||||
* @return bool
|
||||
*/
|
||||
public function checkTeX() {
|
||||
|
|
|
@ -401,7 +401,7 @@ class MathRestbaseInterface {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param $type
|
||||
* @param string $type
|
||||
* @return array
|
||||
* @throws MWException
|
||||
*/
|
||||
|
@ -421,13 +421,13 @@ class MathRestbaseInterface {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param $type
|
||||
* @param $response
|
||||
* @param $request
|
||||
* @return mixed
|
||||
* @param string $type
|
||||
* @param array $response
|
||||
* @param array $request
|
||||
* @return string
|
||||
* @throws MWException
|
||||
*/
|
||||
private function evaluateContentResponse( $type, $response, $request ) {
|
||||
private function evaluateContentResponse( $type, array $response, array $request ) {
|
||||
if ( $response['code'] === 200 ) {
|
||||
if ( array_key_exists( 'x-mathoid-style', $response['headers'] ) ) {
|
||||
$this->mathoidStyle = $response['headers']['x-mathoid-style'];
|
||||
|
|
|
@ -19,7 +19,7 @@ class MathLaTeXMLDatabaseTest extends MediaWikiTestCase {
|
|||
|
||||
/**
|
||||
* Helper function to test protected/private Methods
|
||||
* @param $name
|
||||
* @param string $name
|
||||
* @return ReflectionMethod
|
||||
*/
|
||||
protected static function getMethod( $name ) {
|
||||
|
|
Loading…
Reference in New Issue