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-&gt;link()-&gt;getGeneratedLink();</code> to <code>$node-&gt;toLink()-&gt;toString()-&gt;getGeneratedLink();</code>.</p>
issue