| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | class AssetAttributes |
||
| 12 | { |
||
| 13 | protected static $defaultAttribs = [ |
||
| 14 | Asset::TYPE_STYLES => [ |
||
| 15 | 'type' => 'text/css', |
||
| 16 | 'rel' => 'stylesheet', |
||
| 17 | ], |
||
| 18 | Asset::TYPE_SCRIPTS => [ |
||
| 19 | 'src' => '', |
||
| 20 | ], |
||
| 21 | ]; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param $type |
||
| 25 | * @return string[] |
||
| 26 | */ |
||
| 27 | 9 | public static function defaultFor($type) |
|
| 35 |