Fix phpdoc
Update hook example.