The method __construct delete. phpmd error fix.