[TASK] Use (int) instead of intval()