* @return void
* @throws XmlParserException If an XML error was found
*/
- public function renderXmlContent (string $content = NULL) {
+ public function renderXmlContent (string $content = '') {
// Call the inner class' method
$this->getTemplateInstance()->renderXmlContent($content);
}
* @return void
* @throws InvalidArgumentException If a parameter has an invalid value
*/
- public function renderXmlContent (string $content = NULL) {
+ public function renderXmlContent (string $content = '') {
// Is the content set?
/* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('BASE-XML-TEMPLATE-ENGINE: content[%s]()=%d - CALLED!', gettype($content), strlen($content)));
- if (is_null($content)) {
+ if (empty($content)) {
// Get current content
$content = $this->getRawTemplateData();
} elseif (empty($content)) {