Removed unused class declaration
Added type hint to the PHP renderer
Updated comments