Made some phpdoc more specific about types instead of using mixed