Since I updated my composer.json (I just switched symfony, console, dotenv, framework-bundle, yaml versions from "5.0.* to,"5.2.*), I have this error:
syntax error, unexpected '|', expecting variable (T_VARIABLE) coming from line 27, file vendor/psr/link/src/EvolvableLinkInterface.php.
(public function withHref(string|\Stringable $href);)
I decided to remove one of my facultative parameter type hint (eg. \Stringable) and it worked well.
I'm running under PHP 7.4.15.
Do you know how could I fixed it?