link()->getGeneratedLink() replaced with toLink()->toString()->getGeneratedLink()
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3251946. -->
Reported by: [kristen pol](https://www.drupal.org/user/8389)
>>>
<h2>Drupal version</h2>
<p>Drupal 8 to Drupal 9 upgrade</p>
<h2>Drupal Rector version</h2>
<p>Dev/latest</p>
<h2>Problem / Motivation</h2>
<p>Ran rector and it changed <code>$node->link()->getGeneratedLink();</code> to <code>$node->toLink()->toString()->getGeneratedLink();</code>.</p>
issue