Skip to content

Commit

Permalink
Removed type hinting to prevent scenario outlines failing.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakzal committed Dec 2, 2011
1 parent 66cbf6c commit d8bb5d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Behat/CommonContext/SymfonyDoctrineContext.php
Expand Up @@ -16,25 +16,25 @@
class SymfonyDoctrineContext extends BehatContext
{
/**
* @param \Behat\Behat\Event\ScenarioEvent $event
* @param \Behat\Behat\Event\ScenarioEvent|\Behat\Behat\Event\OutlineExampleEvent $event
*
* @BeforeScenario
*
* @return null
*/
public function beforeScenario(ScenarioEvent $event)
public function beforeScenario($event)
{
$this->buildSchema();
}

/**
* @param \Behat\Behat\Event\ScenarioEvent $event
* @param \Behat\Behat\Event\ScenarioEvent|\Behat\Behat\Event\OutlineExampleEvent $event
*
* @AfterScenario
*
* @return null
*/
public function afterScenario(ScenarioEvent $event)
public function afterScenario($event)
{
$this->getEntityManager()->clear();
}
Expand Down

0 comments on commit d8bb5d6

Please sign in to comment.