Added default value to URL::to_asset method.
This commit is contained in:
parent
c3b8524e1b
commit
6c6f92a7c9
@ -50,7 +50,7 @@ class URL {
|
||||
* @param string $url
|
||||
* @return string
|
||||
*/
|
||||
public static function to_asset($url)
|
||||
public static function to_asset($url = '')
|
||||
{
|
||||
return static::to($url, false, true);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user