Fix incorrect type hints

This commit is contained in:
Kijin Sung 2025-05-17 23:46:58 +09:00
parent 8c87d9ee1d
commit addf4d9972
2 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ class DBTableParser extends BaseParser
* @param string $content
* @return ?object
*/
public static function loadXML(string $filename = '', string $content = ''): object
public static function loadXML(string $filename = '', string $content = ''): ?object
{
// Load the XML content.
if ($content)