Firebase adapter

Unreachable 'var' after 'return'.