title: Argument 1 passed to SymfonyFixturesLoader::addFixture() must be an instance of Doctrine\Common\DataFixtures\FixtureInterface
body: <p>Full error - <code>Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to Doctrine\Bundle\FixturesBundle\Loader\SymfonyFixturesLoader::addFixture() must be an instance of Doctrine\Common\DataFixtures\FixtureInterface, instance of Abstrat\OAuthBundle\Controller\TokenController given, called in /var/www/html/vendor/doctrine/doctrine-fixtures-bundle/Loader/SymfonyFixturesLoader.php on line 36 in /var/www/html/vendor/doctrine/doctrine-fixtures-bundle/Loader/SymfonyFixturesLoader.php on line 40</code></p>
  
  <p>I'm setting up a new Symfony 3.4 API server as i'm migrating code across from an old Symfony 2.7 API server. I have included a couple of custom bundles via composer, with Abstrat\OAuthBundle being one of them (see error in title as this bundle seems to be what's causing the problem)</p>
  
  <p>I haven't created any bundles in ./src yet as I want to get the include libraries working before hand</p>
  
  <p>I can't see why the Abstrat\OAuthBundle that i'm including is being passed to addFixture()</p>
  
  <p>Any help/suggestions would be appreciated</p>