Skip to content

Commit

Permalink
Improve helper function documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jul 26, 2024
1 parent b6f4572 commit 7188cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/framework/src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function asset(string $name, bool $preferQualifiedUrl = false): string

if (! function_exists('route')) {
/**
* Get a page route by its key.
* Get a page route instance by its key. Casting it to a string will return a relative link to the page.
*/
function route(string $key): ?Hyde\Support\Models\Route
{
Expand Down

0 comments on commit 7188cf7

Please sign in to comment.