hassankhan / config

Config is a lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files
MIT License
971 stars 136 forks source link

Fixed typehint on Xml parser, parse method #130

Closed yannickroger closed 3 years ago

yannickroger commented 3 years ago

Hi, The method parse is always called by using the result of simplexml_load_string which is SimpleXMLElement and not an array.

DavidePastore commented 3 years ago

Hi @yannickroger ! Thanks for this PR! 😄