Skip to content

Commit 593517e

Browse files
authored
Merge pull request #72 from neznaika0/fix-unnecessary-docblocks
Delete unnecessary docblocks
2 parents a76bf3c + 22afe90 commit 593517e

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

src/Common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* @param array $options Options for saveData or third-party extensions.
1717
*/
18-
function view_fragment(string $name, string|array $fragments, array $data = [], array $options = []): string
18+
function view_fragment(string $name, array|string $fragments, array $data = [], array $options = []): string
1919
{
2020
$renderer = Services::renderer();
2121

src/HTTP/Response.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ class Response extends BaseResponse
1111

1212
/**
1313
* Pushes a new url into the history stack.
14-
*
15-
* @return Response;
1614
*/
1715
public function setPushUrl(?string $url = null): Response
1816
{
@@ -23,8 +21,6 @@ public function setPushUrl(?string $url = null): Response
2321

2422
/**
2523
* Replaces the current URL in the location bar.
26-
*
27-
* @return Response;
2824
*/
2925
public function setReplaceUrl(?string $url = null): Response
3026
{
@@ -35,8 +31,6 @@ public function setReplaceUrl(?string $url = null): Response
3531

3632
/**
3733
* Allows you to specify how the response will be swapped.
38-
*
39-
* @return Response;
4034
*/
4135
public function setReswap(string $method): Response
4236
{
@@ -50,8 +44,6 @@ public function setReswap(string $method): Response
5044
/**
5145
* A CSS selector that updates the target of the content
5246
* update to a different element on the page.
53-
*
54-
* @return Response;
5547
*/
5648
public function setRetarget(string $selector): Response
5749
{
@@ -63,8 +55,6 @@ public function setRetarget(string $selector): Response
6355
/**
6456
* A CSS selector that allows you to choose which part
6557
* of the response is used to be swapped in.
66-
*
67-
* @return Response;
6858
*/
6959
public function setReselect(string $selector): Response
7060
{
@@ -75,8 +65,6 @@ public function setReselect(string $selector): Response
7565

7666
/**
7767
* Allows you to trigger client side events.
78-
*
79-
* @return Response;
8068
*/
8169
public function triggerClientEvent(string $name, array|string $params = '', string $after = 'receive'): Response
8270
{

0 commit comments

Comments
 (0)