title: PHP-DI Potentially polymorphic call when using the set method
body: <h1>The issue</h1>
  <p>I have an unexpected warning from PHPStorm when I try to set a new value in a PHP-DI container.</p>
  <p>Given the following code:</p>
  <pre class="lang-php prettyprint-override"><code>function inject(Psr\Container\ContainerInterface $container){
      $container-&gt;set(RandomClass::class, new RandomClass());
  }
  
  $container = new DI\Container(); class is instantiated
  
  inject($container);
  </code></pre>
  <p>The following warning is triggered</p>
  <blockquote>
  <p>Potentially polymorphic call. does not have members in its hierarchy</p>
  </blockquote>
  <p>I understand what the warning means, but I do not see why it pops up, especially since I have not found any occurrences of this situation while looking on Google and SO and the documentation does not mention it.</p>
  <p>Is there something I am missing, or is this a &quot;false positive&quot; ?</p>