Structurally distinct phosphatases CD45 and CD148 both regulate B cell and macrophage immunoreceptor signaling.