Please write this as `is_numeric($statusCode) && $statusCode ? (int) $statusCode : 1;`