$func and $file were inverted, the correct way for adding a hook is:  file|class::method#

Signed-off-by: Suki <suki@missallsunday.com>
Merge pull request #1827 from MissAllSunday/stuff

$func and $file were inverted