Skip to content

Commit

Permalink
[FrameworkBundle] Fix PhpDocExtractor registration
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Feb 29, 2016
1 parent c55baba commit 89467b5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1010,7 +1010,7 @@ private function registerPropertyInfoConfiguration(array $config, ContainerBuild

$loader->load('property_info.xml');

if (class_exists('phpDocumentor\Reflection\DocBlockFactoryInterface')) {
if (interface_exists('phpDocumentor\Reflection\DocBlockFactoryInterface')) {
$definition = $container->register('property_info.php_doc_extractor', 'Symfony\Component\PropertyInfo\Extractor\PhpDocExtractor');
$definition->addTag('property_info.description_extractor', array('priority' => -1000));
$definition->addTag('property_info.type_extractor', array('priority' => -1001));
Expand Down

0 comments on commit 89467b5

Please sign in to comment.