Deleting actions and fixing PHP doc.
Making isEligible less complex (green for Scrutinizer).