protected function assetRendered($assets, $type): void
    {
        $assets = (array) $assets;

        foreach ($assets as $asset) {
            $this->renderedTags[] = $type.'::'.$asset;
        }
    }