Skip to content

Commit 850e268

Browse files
committed
Cleanup of redundant docblock returns
1 parent 1d8cbe4 commit 850e268

3 files changed

Lines changed: 0 additions & 20 deletions

File tree

src/RowGateway/AbstractRowGateway.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ public function offsetGet($offset): mixed
214214
* Offset set
215215
*
216216
* @param string $offset
217-
* @return $this Provides a fluent interface
218217
*/
219218
#[Override]
220219
#[ReturnTypeWillChange]
@@ -229,7 +228,6 @@ public function offsetSet($offset, mixed $value): static
229228
* Offset unset
230229
*
231230
* @param string $offset
232-
* @return $this Provides a fluent interface
233231
*/
234232
#[Override]
235233
#[ReturnTypeWillChange]

src/RowGateway/Feature/FeatureSet.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ public function __construct(array $features = [])
2929
}
3030
}
3131

32-
/**
33-
* @return $this Provides a fluent interface
34-
*/
3532
public function setRowGateway(AbstractRowGateway $rowGateway): static
3633
{
3734
$this->rowGateway = $rowGateway;
@@ -53,9 +50,6 @@ public function getFeatureByClassName(string $featureClassName): ?FeatureInterfa
5350
return $feature;
5451
}
5552

56-
/**
57-
* @return $this Provides a fluent interface
58-
*/
5953
public function addFeatures(array $features): static
6054
{
6155
foreach ($features as $feature) {
@@ -64,9 +58,6 @@ public function addFeatures(array $features): static
6458
return $this;
6559
}
6660

67-
/**
68-
* @return $this Provides a fluent interface
69-
*/
7061
public function addFeature(FeatureInterface $feature): static
7162
{
7263
$this->features[] = $feature;

src/TableGateway/Feature/FeatureSet.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ public function __construct(array $features = [])
2727
}
2828
}
2929

30-
/**
31-
* @return $this Provides a fluent interface
32-
*/
3330
public function setTableGateway(AbstractTableGateway $tableGateway): static
3431
{
3532
$this->tableGateway = $tableGateway;
@@ -51,9 +48,6 @@ public function getFeatureByClassName(string $featureClassName): ?FeatureInterfa
5148
return $feature;
5249
}
5350

54-
/**
55-
* @return $this Provides a fluent interface
56-
*/
5751
public function addFeatures(array $features): static
5852
{
5953
foreach ($features as $feature) {
@@ -62,9 +56,6 @@ public function addFeatures(array $features): static
6256
return $this;
6357
}
6458

65-
/**
66-
* @return $this Provides a fluent interface
67-
*/
6859
public function addFeature(FeatureInterface $feature): static
6960
{
7061
if ($this->tableGateway instanceof TableGatewayInterface) {

0 commit comments

Comments
 (0)