Remove duplicate dollar sign for inherited variables

You don't need to add a dollar sign when concatenating the class and variable names, this will only lead to output like `parent_class::$$variable`. The dollar sign for properties is already in the structure.xml
Merge pull request #789 from flack/patch-1

Remove duplicate dollar sign for inherited variables