And he said unto her - “O woman, great is thy faith” (Mat 15:28). As Bengel beautifully remarks, Jesus “marveled” only at two things - faith and unbelief (see Luk 7:9).
For this saying go thy way; the devil is gone out of thy daughter - That moment the deed was done.