Skip to content

Commit

Permalink
Merge pull request #654 from ngmy/fix-helper-return-types
Browse files Browse the repository at this point in the history
Fix the return type of helpers
  • Loading branch information
mlantz committed Jun 26, 2020
2 parents 5ef9a3c + b43878d commit 308de02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @param bool $secure
* @param bool $escape
*
* @return string
* @return \Illuminate\Support\HtmlString
*/
function link_to($url, $title = null, $attributes = [], $secure = null, $escape = true)
{
Expand All @@ -27,7 +27,7 @@ function link_to($url, $title = null, $attributes = [], $secure = null, $escape
* @param array $attributes
* @param bool $secure
*
* @return string
* @return \Illuminate\Support\HtmlString
*/
function link_to_asset($url, $title = null, $attributes = [], $secure = null)
{
Expand All @@ -44,7 +44,7 @@ function link_to_asset($url, $title = null, $attributes = [], $secure = null)
* @param array $parameters
* @param array $attributes
*
* @return string
* @return \Illuminate\Support\HtmlString
*/
function link_to_route($name, $title = null, $parameters = [], $attributes = [])
{
Expand All @@ -61,7 +61,7 @@ function link_to_route($name, $title = null, $parameters = [], $attributes = [])
* @param array $parameters
* @param array $attributes
*
* @return string
* @return \Illuminate\Support\HtmlString
*/
function link_to_action($action, $title = null, $parameters = [], $attributes = [])
{
Expand Down

0 comments on commit 308de02

Please sign in to comment.