Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete unnecessary docblocks #72

Merged
merged 2 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* @param array $options Options for saveData or third-party extensions.
*/
function view_fragment(string $name, string|array $fragments, array $data = [], array $options = []): string
function view_fragment(string $name, array|string $fragments, array $data = [], array $options = []): string
{
$renderer = Services::renderer();

Expand Down
12 changes: 0 additions & 12 deletions src/HTTP/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ class Response extends BaseResponse

/**
* Pushes a new url into the history stack.
*
* @return Response;
*/
public function setPushUrl(?string $url = null): Response
{
Expand All @@ -23,8 +21,6 @@ public function setPushUrl(?string $url = null): Response

/**
* Replaces the current URL in the location bar.
*
* @return Response;
*/
public function setReplaceUrl(?string $url = null): Response
{
Expand All @@ -35,8 +31,6 @@ public function setReplaceUrl(?string $url = null): Response

/**
* Allows you to specify how the response will be swapped.
*
* @return Response;
*/
public function setReswap(string $method): Response
{
Expand All @@ -50,8 +44,6 @@ public function setReswap(string $method): Response
/**
* A CSS selector that updates the target of the content
* update to a different element on the page.
*
* @return Response;
*/
public function setRetarget(string $selector): Response
{
Expand All @@ -63,8 +55,6 @@ public function setRetarget(string $selector): Response
/**
* A CSS selector that allows you to choose which part
* of the response is used to be swapped in.
*
* @return Response;
*/
public function setReselect(string $selector): Response
{
Expand All @@ -75,8 +65,6 @@ public function setReselect(string $selector): Response

/**
* Allows you to trigger client side events.
*
* @return Response;
*/
public function triggerClientEvent(string $name, array|string $params = '', string $after = 'receive'): Response
{
Expand Down
Loading