Drop obsolete method check existence

This commit is contained in:
Adrien Crivelli 2017-02-16 11:01:35 +09:00
parent ce8ba1fa66
commit 4ae95e5f7c
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
2 changed files with 4 additions and 8 deletions

View File

@ -79,8 +79,8 @@ class DataSeriesValues
/**
* Create a new DataSeriesValues object.
*
* @param string $dataSource
* @param mixed $dataType
* @param string $dataSource
* @param null|mixed $formatCode
* @param mixed $pointCount
* @param mixed $dataValues

View File

@ -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
*/
@ -115,10 +115,6 @@ class XMLWriter extends \XMLWriter
$text = implode("\n", $text);
}
if (method_exists($this, 'writeRaw')) {
return $this->writeRaw(htmlspecialchars($text));
}
return $this->text($text);
}
}