Your project must not contain invalid function or method calls 2

More information: https://insight.symfony.com/what-we-analyse/php.invalid_call

in src/Container.php, line 440
  1. default => false,
  2. });
  3. if ($shape) {
  4. return $this->injectContainer(
  5. $this->getHandler()->handle($instance, $args)
    Parameter #1 $callable of method Projek\Callable\Handler::handle() expects array{class-string<object>|object, string}|(callable(): mixed)|object|string, array<mixed>|(callable(): mixed) given.
    Time to fix: about 9 minutes
    Read doc Permalink Copy Prompt
    Last edited by Fery Wardiyanto
  6. );
  7. }
  8. // Thrown from inside the boundary: the InvalidArgumentException
  9. // passes it untouched — the boundary never wraps a user-facing InvalidArgumentException.
  1. if ($name === 'self' || $name === 'static') {
  2. return $scope?->getName() ?? $name;
  3. }
  4. if ($name === 'parent') {
  5. return $scope?->getParentClass()?->getName() ?? $name;
    Cannot call method getName() on ReflectionClass|false.
    Time to fix: about 9 minutes
    Read doc Permalink Copy Prompt
    Last edited by Fery Wardiyanto
  6. }
  7. return $name;
  8. };