Your project should not use invalid return types 2

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

in src/Container.php, line 191
  1. if ($condition) {
  2. $instance = $condition($instance) ?: $instance;
  3. }
  4. return $this->resolver->handle($instance, $args);
    Method Projek\Container::make() should return object but returns mixed.
    Time to fix: about 9 minutes
    Read doc Permalink Copy Prompt
    Last edited by Fery Wardiyanto
  5. }
  6. /**
  7. * Extending an entry.
  8. *
  1. if (\is_array($entry) && \is_string($entry[0])) {
  2. $entry[0] = $this->resolve($entry[0], $args);
  3. }
  4. return $entry;
    Method Projek\Container\Resolver::resolve() should return (callable(): mixed)|object but returns mixed.
    Time to fix: about 9 minutes
    Read doc Permalink Copy Prompt
    Last edited by Fery Wardiyanto
  5. }
  6. /**
  7. * Handle callable.
  8. *