Signing an URI an checking, if it is a valid signation in Symfony

Code
<?php

use Symfony\Component\HttpKernel\UriSigner;

// create UriSigner with a secret
$signer = new UriSigner('fhojd2ctzzgc8');

$uri 'https://www.google.com/search?q=php';
$signedUri $signer->sign($uri);

echo 
$signedUri PHP_EOL PHP_EOL;

if (
$signer->check($signedUri)) {
    echo 
'check was ok. Now something can be done with URI';
}
Result
https://www.google.com/search?_hash=QaY0qOn6sVSLDWVIYs6KqYggCvEypJHbHaB%2Fj21QZLw%3D&q=php

check was ok. Now something can be done with URI
Used Versions
PHP 8.2, Laminas MVC 3.2, Symfony 5.2, Laravel 8.28, PHPUnit 9.5, Doctrine ORM 2.8