[S32] Use modern return type syntax