title: Error: In laravel 8 with passport 10 after running composer update command
body: <p>I have an error while creating passport token in laravel 8 with passport package 10. Everything is working properly before running composer update command. When I run the composer update command I got this error:-</p>
  <pre><code>message: &quot;Method Laravel\Passport\Bridge\AccessToken::__toString() must not throw an 
            exception, caught ErrorException: Using integers for registered date claims is 
            deprecated, please use DateTimeImmutable objects instead.&quot;
  exception: &quot;Symfony\Component\ErrorHandler\Error\FatalError&quot;
  </code></pre>
  <p>Please help while resolving this error. Any help would be appreciable.</p>