protected static function setNewParams($type, $place, $hash, $url, $ext)
    {
        $data = [
            'name' => self::$id,
            'url' => $url . $hash . $ext,
            'attr' => self::unifyParams($type, 'attr'),
            'version' => self::unifyParams($type, 'version', '1.0.0'),
        ];

        if ($type === 'script') {
            $data['footer'] = self::unifyParams($type, 'footer', false);
        }

        self::$data[$type][$place] = [$data['name'] => $data];

        return true;
    }