src/ValidatedDescription.php
public function set(string $key, DescriptorInterface $descriptor, int $priority = 0)
    {
        $this->schema->validate($key, $descriptor);
        $this->description->set($key, $descriptor, $priority);
    }
public function set(string $key, DescriptorInterface $descriptor, int $priority = 0)
    {
        $this->schema->validate($key, $descriptor);
        $this->description->set($key, $descriptor, $priority);
    }
{@inheritdoc}