This commit is contained in:
Fabien Potencier 2012-05-18 19:40:45 +02:00
parent e173d79e34
commit 5014011327
2 changed files with 6 additions and 4 deletions

View File

@ -18,6 +18,7 @@ use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
use Symfony\Component\DependencyInjection\Reference; use Symfony\Component\DependencyInjection\Reference;
use Symfony\Component\DependencyInjection\Compiler\ResolveDefinitionTemplatesPass; use Symfony\Component\DependencyInjection\Compiler\ResolveDefinitionTemplatesPass;
use Symfony\Component\DependencyInjection\Definition;
use Symfony\Component\Config\FileLocator; use Symfony\Component\Config\FileLocator;
abstract class AbstractDoctrineExtensionTest extends TestCase abstract class AbstractDoctrineExtensionTest extends TestCase
@ -703,8 +704,8 @@ abstract class AbstractDoctrineExtensionTest extends TestCase
/** /**
* Assertion on the Class of a DIC Service Definition. * Assertion on the Class of a DIC Service Definition.
* *
* @param \Symfony\Component\DependencyInjection\Definition $definition * @param Definition $definition
* @param string $expectedClass * @param string $expectedClass
*/ */
protected function assertDICDefinitionClass($definition, $expectedClass) protected function assertDICDefinitionClass($definition, $expectedClass)
{ {

View File

@ -15,6 +15,7 @@ use Symfony\Bundle\MonologBundle\Tests\TestCase;
use Symfony\Bundle\MonologBundle\DependencyInjection\MonologExtension; use Symfony\Bundle\MonologBundle\DependencyInjection\MonologExtension;
use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Reference; use Symfony\Component\DependencyInjection\Reference;
use Symfony\Component\DependencyInjection\Definition;
class MonologExtensionTest extends TestCase class MonologExtensionTest extends TestCase
{ {
@ -247,8 +248,8 @@ class MonologExtensionTest extends TestCase
/** /**
* Assertion on the Class of a DIC Service Definition. * Assertion on the Class of a DIC Service Definition.
* *
* @param \Symfony\Component\DependencyInjection\Definition $definition * @param Definition $definition
* @param string $expectedClass * @param string $expectedClass
*/ */
protected function assertDICDefinitionClass($definition, $expectedClass) protected function assertDICDefinitionClass($definition, $expectedClass)
{ {