beyondcode / invoker-community

74 stars 2 forks source link

Argument #1 ($type) must be of type ReflectionNamedType, ReflectionUnionType given #315

Closed ziming closed 1 year ago

ziming commented 1 year ago

OS: darwin Invoker Version: 2.10.0 Laravel Version: 9.36.4 Local project: unknown PHP Binary: /usr/local/bin/php Route: /project/placeholder?project=remote-2Qqm6z6oLNWQT4JxvZ3dUh

Error:

In ReflectionSourceStubber.php line 345:

  _HumbugBox5bc770953b87\Roave\BetterReflection\SourceLocator\SourceStubber\R  
  eflectionSourceStubber::formatType(): Argument #1 ($type) must be of type R  
  eflectionNamedType, ReflectionUnionType given, called in phar:///tmp/forge_  
  invoker.phar/vendor/roave/better-reflection/src/SourceLocator/SourceStubber  
  /ReflectionSourceStubber.php on line 334