8000 bug #17964 [FrameworkBundle] Fix PhpDocExtractor registration (dunglas) · symfony/symfony@fff5dcf · GitHub
[go: up one dir, main page]

Skip to content

Commit fff5dcf

Browse files
committed
bug #17964 [FrameworkBundle] Fix PhpDocExtractor registration (dunglas)
This PR was merged into the 3.1-dev branch. Discussion ---------- [FrameworkBundle] Fix PhpDocExtractor registration | Q | A | ------------- | --- | Branch | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | no | Fixed tickets | n/a | License | MIT | Doc PR | n/a Fix for the fix... (#17931). `class_exists` on an interface will never work. I've tested this one in real condition and it works. Commits ------- 89467b5 [FrameworkBundle] Fix PhpDocExtractor registration
2 parents 41b2612 + 89467b5 commit fff5dcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ private function registerPropertyInfoConfiguration(array $config, ContainerBuild
10101010

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

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

0 commit comments

Comments
 (0)
0