Skip to content

Commit

Permalink
Merge pull request #72 from neznaika0/fix-unnecessary-docblocks
Browse files Browse the repository at this point in the history
Delete unnecessary docblocks
  • Loading branch information
michalsn authored Sep 2, 2024
2 parents a76bf3c + 22afe90 commit 593517e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
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

0 comments on commit 593517e

Please sign in to comment.