Commit 6c6f92a7 by Taylor Otwell

Added default value to URL::to_asset method.

parent c3b8524e
...@@ -50,7 +50,7 @@ class URL { ...@@ -50,7 +50,7 @@ class URL {
* @param string $url * @param string $url
* @return string * @return string
*/ */
public static function to_asset($url) public static function to_asset($url = '')
{ {
return static::to($url, false, true); return static::to($url, false, true);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment