Constructor has invalid annotation. My IDE have indexed this annotation and adds it to autocomplete.
So i also have few invalid annotations in my code:)
/**
* @psam-param Iterator<string> $iterator
*/
public function __construct(Iterator $iterator)
{
$this->iterator = $iterator;
}
Constructor has invalid annotation. My IDE have indexed this annotation and adds it to autocomplete. So i also have few invalid annotations in my code:)