Drop obsolete method check existence
This commit is contained in:
parent
ce8ba1fa66
commit
4ae95e5f7c
|
@ -79,8 +79,8 @@ class DataSeriesValues
|
||||||
/**
|
/**
|
||||||
* Create a new DataSeriesValues object.
|
* Create a new DataSeriesValues object.
|
||||||
*
|
*
|
||||||
* @param string $dataSource
|
|
||||||
* @param mixed $dataType
|
* @param mixed $dataType
|
||||||
|
* @param string $dataSource
|
||||||
* @param null|mixed $formatCode
|
* @param null|mixed $formatCode
|
||||||
* @param mixed $pointCount
|
* @param mixed $pointCount
|
||||||
* @param mixed $dataValues
|
* @param mixed $dataValues
|
||||||
|
|
|
@ -103,9 +103,9 @@ class XMLWriter extends \XMLWriter
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fallback method for writeRaw, introduced in PHP 5.2.
|
* Wrapper method for writeRaw.
|
||||||
*
|
*
|
||||||
* @param string $text
|
* @param string|string[] $text
|
||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
|
@ -115,10 +115,6 @@ class XMLWriter extends \XMLWriter
|
||||||
$text = implode("\n", $text);
|
$text = implode("\n", $text);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (method_exists($this, 'writeRaw')) {
|
|
||||||
return $this->writeRaw(htmlspecialchars($text));
|
return $this->writeRaw(htmlspecialchars($text));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->text($text);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue