shorten really long statement.

This commit is contained in:
Taylor Otwell
2011-11-01 20:50:35 -05:00
parent 88c8cf6c10
commit 8df52df894

View File

@@ -66,7 +66,9 @@ class HTML {
}
}
return '<link href="'.static::entities(URL::to_asset($url)).'"'.static::attributes($attributes).'>'.PHP_EOL;
$url = static::entities(URL::to_asset($url));
return '<link href="'.$url.'"'.static::attributes($attributes).'>'.PHP_EOL;
}
/**