Fixed usage of $this in static method (FunctionDeclarationNode::createFilter()).