Skip to content

Commit 2ffff1d

Browse files
Import return annotations from vendors
1 parent 034ff81 commit 2ffff1d

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

GenericLinkProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ public function getLinksByRel($rel): array
6161

6262
/**
6363
* {@inheritdoc}
64+
*
65+
* @return static
6466
*/
6567
public function withLink(LinkInterface $link)
6668
{
@@ -72,6 +74,8 @@ public function withLink(LinkInterface $link)
7274

7375
/**
7476
* {@inheritdoc}
77+
*
78+
* @return static
7579
*/
7680
public function withoutLink(LinkInterface $link)
7781
{

Link.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ public function getAttributes(): array
9292

9393
/**
9494
* {@inheritdoc}
95+
*
96+
* @return static
9597
*/
9698
public function withHref($href)
9799
{
@@ -104,6 +106,8 @@ public function withHref($href)
104106

105107
/**
106108
* {@inheritdoc}
109+
*
110+
* @return static
107111
*/
108112
public function withRel($rel)
109113
{
@@ -115,6 +119,8 @@ public function withRel($rel)
115119

116120
/**
117121
* {@inheritdoc}
122+
*
123+
* @return static
118124
*/
119125
public function withoutRel($rel)
120126
{
@@ -126,6 +132,8 @@ public function withoutRel($rel)
126132

127133
/**
128134
* {@inheritdoc}
135+
*
136+
* @return static
129137
*/
130138
public function withAttribute($attribute, $value)
131139
{
@@ -137,6 +145,8 @@ public function withAttribute($attribute, $value)
137145

138146
/**
139147
* {@inheritdoc}
148+
*
149+
* @return static
140150
*/
141151
public function withoutAttribute($attribute)
142152
{

0 commit comments

Comments
 (0)