Skip to content

Commit

Permalink
Add the class flag assertion back in
Browse files Browse the repository at this point in the history
  • Loading branch information
tpunt committed Sep 13, 2015
1 parent 3d7baaf commit b3e34c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AstReverter/AstReverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ private function class(Node $node, Node $args = null) : string
// anonymous class
break;
default:
// assert(false, "Unknown flag ({$node->flags}) for AST_CLASS found.");
assert(false, "Unknown flag ({$node->flags}) for AST_CLASS found.");
}

if ($node->children[0] !== null) {
Expand Down

0 comments on commit b3e34c9

Please sign in to comment.