How does the sentence end?

The plants grew better in the garden than in the yard because the
garden was in the sun.