Snippet for dispatch_data_apply fixed

Missed block return type lead to compile time error.