Update GraphPathFinder.php