Change intval( User::getOption() ) to User::getIntOption()