Fix "@param $…" missing the type

Change-Id: I8d20ae852100a6ecc39df05eab3aa8e2b9c09480
This commit is contained in:
Thiemo Kreuz 2018-06-20 11:10:23 +02:00
parent d5a3fd8a16
commit 97000ed8b0
3 changed files with 7 additions and 8 deletions

View File

@ -585,7 +585,6 @@ abstract class MathRenderer {
}
/**
* @global $wgMathDisableTexFilter
* @return bool
*/
public function checkTeX() {

View File

@ -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'];

View File

@ -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 ) {