Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update DOMDocument return values to support PHP 8.3
Previously, the return value was \DOMDocument for the static calls, but it has been changed to just bool in PHP 8.3. Also, starting from PHP 8.0, static calls to those methods throw an error, so changing the types should not break previous versions.
- Loading branch information