shorten really long statement.

This commit is contained in:
Taylor Otwell 2011-11-01 20:50:35 -05:00
parent 88c8cf6c10
commit 8df52df894
1 changed files with 3 additions and 1 deletions

View File

@ -66,7 +66,9 @@ public static function style($url, $attributes = array())
}
}
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;
}
/**