Update AbstractWidget.php

Fixed abstract widget