So say we have $\hat{O}=|\phi\rangle\langle\psi|$ and a ket vector $|f\rangle$, where
$\langle x|\phi\rangle=\phi(x),\hspace{1cm}\langle x|\psi\rangle=\psi(x),\hspace{1cm}\langle x|f\rangle=f(x)$
If we write the inner product $\hat{O}|f\rangle$ in terms of an integral over $x$, we have
$|\phi\rangle\langle\psi|f\rangle=|\phi\rangle\int\psi(x)^*f(x)dx$
but I don't understand what this means. What does $|\phi\rangle$ become? Is the result a bra, a ket, or a number?