Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve wording
Browse files Browse the repository at this point in the history
mvorisek committed Sep 17, 2023
1 parent e4119fd commit 1999c98
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/App.php
Original file line number Diff line number Diff line change
@@ -652,7 +652,7 @@ public function stickyForget(string $name): void
/**
* Build a URL that application can use for loading HTML data.
*
* @param string|array<0|string, string|int|false> $page URL as string or array with page name as first element and other GET arguments
* @param string|array<0|string, string|int|false> $page URL as string or array with page path as first element and other GET arguments
* @param array<string, string> $extraRequestUrlArgs additional URL arguments, deleting sticky can delete them
*/
public function url($page = [], array $extraRequestUrlArgs = []): string
@@ -711,7 +711,7 @@ public function url($page = [], array $extraRequestUrlArgs = []): string
* Build a URL that application can use for JS callbacks. Some framework integration will use a different routing
* mechanism for non-HTML response.
*
* @param string|array<0|string, string|int|false> $page URL as string or array with page name as first element and other GET arguments
* @param string|array<0|string, string|int|false> $page URL as string or array with page path as first element and other GET arguments
* @param array<string, string> $extraRequestUrlArgs additional URL arguments, deleting sticky can delete them
*/
public function jsUrl($page = [], array $extraRequestUrlArgs = []): string
4 changes: 2 additions & 2 deletions src/View.php
Original file line number Diff line number Diff line change
@@ -476,7 +476,7 @@ public function removeAttr($name)
/**
* Build an URL which this view can use for callbacks.
*
* @param string|array<0|string, string|int|false> $page URL as string or array with page name as first element and other GET arguments
* @param string|array<0|string, string|int|false> $page URL as string or array with page path as first element and other GET arguments
*/
public function url($page = []): string
{
@@ -486,7 +486,7 @@ public function url($page = []): string
/**
* Build an URL which this view can use for JS callbacks.
*
* @param string|array<0|string, string|int|false> $page URL as string or array with page name as first element and other GET arguments
* @param string|array<0|string, string|int|false> $page URL as string or array with page path as first element and other GET arguments
*/
public function jsUrl($page = []): string
{

0 comments on commit 1999c98

Please sign in to comment.