src/Common/Hash.php
public static function fromConfig(array $config = [], array $defaults = [], array $required = [])
    {
        if (!empty($defaults) || !empty($required)) {
            throw new LogicException('Setting options on fromConfig is not allowed.');
        }

        return new static($config);
    }
public static function fromConfig(array $config = [], array $defaults = [], array $required = [])
    {
        if (!empty($defaults) || !empty($required)) {
            throw new LogicException('Setting options on fromConfig is not allowed.');
        }

        return new static($config);
    }
{@inheritdoc}