Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As per PHP docs, the XML functions also accept just a method name as a string, even though it is not actually a callable: Note: Instead of a function name, an array containing an object reference and a method name can also be supplied. PHPStan level 5 will complain though: Parameter simplepie#2 $handler of function xml_set_character_data_handler expects callable(): mixed, 'cdata' given. Let’s use proper callables.
- Loading branch information