Following code did have a return value, but PHP Tools give a hint:
'test_function': not all code paths return a value PHP(PHP0405)
<?php
/**
* @return bool
*/
function test_function()
{
try {
// Do nothing
}
catch (Exception $e) {
// Do nothing
}
finally {
return true;
}
}