We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5c48b5 commit 3bb68afCopy full SHA for 3bb68af
src/Naneau/Obfuscator/Node/Visitor/ScramblePrivateMethod.php
@@ -124,7 +124,7 @@ private function scanMethodDefinitions(array $nodes)
124
{
125
foreach ($nodes as $node) {
126
// Scramble the private method definitions
127
- if ($node instanceof ClassMethod && $node->type === ClassNode::MODIFIER_PRIVATE) {
+ if ($node instanceof ClassMethod && ($node->type & ClassNode::MODIFIER_PRIVATE)) {
128
129
// Record original name and scramble it
130
$originalName = $node->name;
0 commit comments