Skip to content

Commit 068136a

Browse files
committed
[CS] Remove @inheritdoc PHPDoc
1 parent d6ef738 commit 068136a

File tree

3 files changed

+0
-42
lines changed

3 files changed

+0
-42
lines changed

EventListener/AddLinkHeaderListener.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ public function onKernelResponse(ResponseEvent $event)
5050
$event->getResponse()->headers->set('Link', $this->serializer->serialize($links), false);
5151
}
5252

53-
/**
54-
* {@inheritdoc}
55-
*/
5653
public static function getSubscribedEvents(): array
5754
{
5855
return [KernelEvents::RESPONSE => 'onKernelResponse'];

GenericLinkProvider.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,11 @@ public function __construct(array $links = [])
3535
$this->links = $that->links;
3636
}
3737

38-
/**
39-
* {@inheritdoc}
40-
*/
4138
public function getLinks(): array
4239
{
4340
return array_values($this->links);
4441
}
4542

46-
/**
47-
* {@inheritdoc}
48-
*/
4943
public function getLinksByRel(string $rel): array
5044
{
5145
$links = [];
@@ -59,9 +53,6 @@ public function getLinksByRel(string $rel): array
5953
return $links;
6054
}
6155

62-
/**
63-
* {@inheritdoc}
64-
*/
6556
public function withLink(LinkInterface $link): static
6657
{
6758
$that = clone $this;
@@ -70,9 +61,6 @@ public function withLink(LinkInterface $link): static
7061
return $that;
7162
}
7263

73-
/**
74-
* {@inheritdoc}
75-
*/
7664
public function withoutLink(LinkInterface $link): static
7765
{
7866
$that = clone $this;

Link.php

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -58,41 +58,26 @@ public function __construct(string $rel = null, string $href = '')
5858
$this->href = $href;
5959
}
6060

61-
/**
62-
* {@inheritdoc}
63-
*/
6461
public function getHref(): string
6562
{
6663
return $this->href;
6764
}
6865

69-
/**
70-
* {@inheritdoc}
71-
*/
7266
public function isTemplated(): bool
7367
{
7468
return $this->hrefIsTemplated($this->href);
7569
}
7670

77-
/**
78-
* {@inheritdoc}
79-
*/
8071
public function getRels(): array
8172
{
8273
return array_values($this->rel);
8374
}
8475

85-
/**
86-
* {@inheritdoc}
87-
*/
8876
public function getAttributes(): array
8977
{
9078
return $this->attributes;
9179
}
9280

93-
/**
94-
* {@inheritdoc}
95-
*/
9681
public function withHref(string|\Stringable $href): static
9782
{
9883
$that = clone $this;
@@ -101,9 +86,6 @@ public function withHref(string|\Stringable $href): static
10186
return $that;
10287
}
10388

104-
/**
105-
* {@inheritdoc}
106-
*/
10789
public function withRel(string $rel): static
10890
{
10991
$that = clone $this;
@@ -112,9 +94,6 @@ public function withRel(string $rel): static
11294
return $that;
11395
}
11496

115-
/**
116-
* {@inheritdoc}
117-
*/
11897
public function withoutRel(string $rel): static
11998
{
12099
$that = clone $this;
@@ -123,9 +102,6 @@ public function withoutRel(string $rel): static
123102
return $that;
124103
}
125104

126-
/**
127-
* {@inheritdoc}
128-
*/
129105
public function withAttribute(string $attribute, string|\Stringable|int|float|bool|array $value): static
130106
{
131107
$that = clone $this;
@@ -134,9 +110,6 @@ public function withAttribute(string $attribute, string|\Stringable|int|float|bo
134110
return $that;
135111
}
136112

137-
/**
138-
* {@inheritdoc}
139-
*/
140113
public function withoutAttribute(string $attribute): static
141114
{
142115
$that = clone $this;

0 commit comments

Comments
 (0)