fixes #3

removes the 5.3.x PHP Fatal error: Using $this when not in object context
Merge pull request #5 from grzegorzmanda/patch-1

fixes #3