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 4c17a08 commit 1ed07a8Copy full SHA for 1ed07a8
src/Naneau/Obfuscator/Node/Visitor/ScramblePrivateProperty.php
@@ -99,7 +99,7 @@ private function scanPropertyDefinitions(array $nodes)
99
{
100
foreach ($nodes as $node) {
101
// Scramble the private method definitions
102
- if ($node instanceof Property && $node->type === ClassNode::MODIFIER_PRIVATE) {
+ if ($node instanceof Property && ($node->type & ClassNode::MODIFIER_PRIVATE)) {
103
foreach($node->props as $property) {
104
105
// Record original name and scramble it
0 commit comments