Skip to content

Commit

Permalink
#2111 - Enable Reflection class entry detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Mar 6, 2021
1 parent e930f5a commit 514f544
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/ClassDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -1819,7 +1819,7 @@ public function getClassEntryByClassName($className, CompilationContext $compila
break;

// Reflection
/*case 'reflector':
case 'reflector':
$compilationContext->headersManager->add('ext/reflection/php_reflection');
$classEntry = 'reflector_ptr';
break;
Expand Down Expand Up @@ -1866,7 +1866,7 @@ public function getClassEntryByClassName($className, CompilationContext $compila
case 'reflectionzendextension':
$compilationContext->headersManager->add('ext/reflection/php_reflection');
$classEntry = 'reflection_zend_extension_ptr';
break;*/
break;

default:
if (!$check) {
Expand Down

0 comments on commit 514f544

Please sign in to comment.