From b43878dbce2e2c2201fc72058e45dc9b3f6132c7 Mon Sep 17 00:00:00 2001 From: Yuta Nagamiya Date: Tue, 16 Jun 2020 21:09:53 +0900 Subject: [PATCH] Fix the return type of helpers --- src/helpers.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/helpers.php b/src/helpers.php index 14f0361..7d17062 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -10,7 +10,7 @@ if (! function_exists('link_to')) { * @param bool $secure * @param bool $escape * - * @return string + * @return \Illuminate\Support\HtmlString */ function link_to($url, $title = null, $attributes = [], $secure = null, $escape = true) { @@ -27,7 +27,7 @@ if (! function_exists('link_to_asset')) { * @param array $attributes * @param bool $secure * - * @return string + * @return \Illuminate\Support\HtmlString */ function link_to_asset($url, $title = null, $attributes = [], $secure = null) { @@ -44,7 +44,7 @@ if (! function_exists('link_to_route')) { * @param array $parameters * @param array $attributes * - * @return string + * @return \Illuminate\Support\HtmlString */ function link_to_route($name, $title = null, $parameters = [], $attributes = []) { @@ -61,7 +61,7 @@ if (! function_exists('link_to_action')) { * @param array $parameters * @param array $attributes * - * @return string + * @return \Illuminate\Support\HtmlString */ function link_to_action($action, $title = null, $parameters = [], $attributes = []) {