unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_OBJECT_OPERATOR

fixes #45
Merge pull request #52 from adamjimenez/patch-6

unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_OBJECT_OPERATOR