More updates to stop using dev or alpha or beta versions.
[yaffs-website] / web / modules / contrib / security_review / src / Checks / Field.php.rej
1 --- src/Checks/Field.php
2 +++ src/Checks/Field.php
3 @@ -138,9 +138,9 @@ class Field extends Check {
4            ->load($entity_id);
5  
6          foreach ($fields as $field => $finding) {
7 -          $url = $entity->urlInfo('edit-form');
8 +          $url = $entity->toUrl('edit-form')->toString();
9            if ($url === NULL) {
10 -            $url = $entity->urlInfo();
11 +            $url = $entity->toUrl()->toString();
12            }
13            $items[] = $this->t(
14              '@vulnerabilities found in <em>@field</em> field of <a href=":url">@label</a>',