**1. Sauté the Vegetables:**
- Heat olive oil or butter in a large pot over medium heat. Add diced onion, celery, and carrot. Sauté for 5-7 minutes until softened. Add minced garlic and cook for an additional minute.
**2. Add Broth and Chicken:**
- Stir in the shredded chicken and pour in the chicken broth. Bring to a gentle boil over medium-high heat.
**3. Create the Creamy Base:**
- In a small bowl, whisk together the heavy cream and flour until smooth. Slowly pour the mixture into the soup while stirring to thicken the broth.
**4. Cook the Gnocchi:**
- Add the gnocchi to the soup and cook according to the package instructions (usually 2-3 minutes), or until they float to the top.
**5. Add Spinach and Seasoning:**
- Reduce the heat to low. Stir in the chopped spinach, dried thyme, basil, black pepper, and salt. Simmer for 2-3 minutes until the spinach wilts.
**6. Serve:**
- Ladle the soup into bowls and garnish with grated Parmesan cheese, if desired. Serve warm.