Your project must not contain invalid function or method calls

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

  1. );
  2. }
  3. /** @var array{object|string,string} $callable */
  4. return $ref->invokeArgs(
  5. $ref->isStatic() && ! \is_object($callable[0]) ? null : $callable[0],
    Parameter #1 $object of method ReflectionMethod::invokeArgs() expects object|null, object|string|null given.
    Last edited by Fery Wardiyanto
  6. $this->resolveArgs($ref, $args)
  7. );
  8. } catch (ReflectionException $err) {
  9. throw new InvalidArgumentException($err->getMessage(), $err->getCode(), $err);
  10. } catch (UnresolvableArgumentException $err) {