Convert tabs to spaces

Found some random tabs floating around.
you need to fix the indentation of the phpdoc as well