+ Added missing use statements
* Initialize $commment variable
* Initialize $matches variable
+ Additional check for type
+ Additional type checks
* Initialized $subvalue variable
- Removed unused method
* Fixed phpdoc