Made Adjustments for PSR-2 PHooks Class