[#30479] Cleanup of unused variables (Fix #950)
PHPCS cleanup of com_finder