main
<?php declare(strict_types=1); /** * @var string $type */ ?> <span class="wt-mime wt-mime-<?= e(explode('/', $type)[0]) ?> wt-mime-<?= strtr($type, ['/' => '-']) ?>" aria-hidden="true"></span><?php