[ticket/11550] Move comments to correct function

PHPBB3-11550
[ticket/11550] Specify a valid path so it's clearer that it must be a path

PHPBB3-11550