added phpdoc for $this
fixed cs (indentation)