Skip to content

Commit

Permalink
Merge pull request #1912 from hydephp/improve-helper-function-documen…
Browse files Browse the repository at this point in the history
…tation

Improve helper function documentation
  • Loading branch information
caendesilva authored Jul 26, 2024
2 parents b6f4572 + 7188cf7 commit 706a45c
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 706a45c

Please sign in to comment.