- Issue created by @lostcarpark
- 🇮🇪Ireland lostcarpark
Changing return type of `TruncateHTML::init` from `DOMDocument` to `DOMNode` resolved the issue.
the `init()` method calls `HTML::load()` it would seem that this was always returning a `DOMNode`, but hadn't specified return type, so it wasn't caught.
Ready for review.
- First commit to issue fork.
-
markie →
committed e3421a16 on 2.x authored by
lostcarpark →
Issue #3511681 by lostcarpark: PHPStan fails for Next Minor
-
markie →
committed e3421a16 on 2.x authored by
lostcarpark →
Automatically closed - issue fixed for 2 weeks with no activity.