Skip to content

Commit c383bdd

Browse files
committed
[CS] Remove @inheritdoc PHPDoc
1 parent 946d018 commit c383bdd

File tree

6 files changed

+0
-40
lines changed

6 files changed

+0
-40
lines changed

DataCollector/NotificationDataCollector.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ public function __construct(NotificationLoggerListener $logger)
2929
$this->logger = $logger;
3030
}
3131

32-
/**
33-
* {@inheritdoc}
34-
*/
3532
public function collect(Request $request, Response $response, \Throwable $exception = null)
3633
{
3734
$this->data['events'] = $this->logger->getEvents();
@@ -42,17 +39,11 @@ public function getEvents(): NotificationEvents
4239
return $this->data['events'];
4340
}
4441

45-
/**
46-
* {@inheritdoc}
47-
*/
4842
public function reset()
4943
{
5044
$this->data = [];
5145
}
5246

53-
/**
54-
* {@inheritdoc}
55-
*/
5647
public function getName(): string
5748
{
5849
return 'notifier';

EventListener/NotificationLoggerListener.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ public function __construct()
2828
$this->events = new NotificationEvents();
2929
}
3030

31-
/**
32-
* {@inheritdoc}
33-
*/
3431
public function reset()
3532
{
3633
$this->events = new NotificationEvents();

Test/Constraint/NotificationCount.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,13 @@ public function __construct(int $expectedValue, string $transport = null, bool $
3030
$this->queued = $queued;
3131
}
3232

33-
/**
34-
* {@inheritdoc}
35-
*/
3633
public function toString(): string
3734
{
3835
return sprintf('%shas %s "%d" emails', $this->transport ? $this->transport.' ' : '', $this->queued ? 'queued' : 'sent', $this->expectedValue);
3936
}
4037

4138
/**
4239
* @param NotificationEvents $events
43-
*
44-
* {@inheritdoc}
4540
*/
4641
protected function matches($events): bool
4742
{
@@ -50,8 +45,6 @@ protected function matches($events): bool
5045

5146
/**
5247
* @param NotificationEvents $events
53-
*
54-
* {@inheritdoc}
5548
*/
5649
protected function failureDescription($events): string
5750
{

Test/Constraint/NotificationIsQueued.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,13 @@
1919
*/
2020
final class NotificationIsQueued extends Constraint
2121
{
22-
/**
23-
* {@inheritdoc}
24-
*/
2522
public function toString(): string
2623
{
2724
return 'is queued';
2825
}
2926

3027
/**
3128
* @param MessageEvent $event
32-
*
33-
* {@inheritdoc}
3429
*/
3530
protected function matches($event): bool
3631
{
@@ -39,8 +34,6 @@ protected function matches($event): bool
3934

4035
/**
4136
* @param MessageEvent $event
42-
*
43-
* {@inheritdoc}
4437
*/
4538
protected function failureDescription($event): string
4639
{

Test/Constraint/NotificationSubjectContains.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,12 @@ public function __construct(string $expectedText)
2626
$this->expectedText = $expectedText;
2727
}
2828

29-
/**
30-
* {@inheritdoc}
31-
*/
3229
public function toString(): string
3330
{
3431
return sprintf('contains "%s"', $this->expectedText);
3532
}
3633

3734
/**
38-
* {@inheritdoc}
39-
*
4035
* @param MessageInterface $message
4136
*/
4237
protected function matches($message): bool
@@ -45,8 +40,6 @@ protected function matches($message): bool
4540
}
4641

4742
/**
48-
* {@inheritdoc}
49-
*
5043
* @param MessageInterface $message
5144
*/
5245
protected function failureDescription($message): string

Test/Constraint/NotificationTransportIsEqual.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,12 @@ public function __construct(string $expectedText)
2626
$this->expectedText = $expectedText;
2727
}
2828

29-
/**
30-
* {@inheritdoc}
31-
*/
3229
public function toString(): string
3330
{
3431
return sprintf('is "%s"', $this->expectedText);
3532
}
3633

3734
/**
38-
* {@inheritdoc}
39-
*
4035
* @param MessageInterface $message
4136
*/
4237
protected function matches($message): bool
@@ -45,8 +40,6 @@ protected function matches($message): bool
4540
}
4641

4742
/**
48-
* {@inheritdoc}
49-
*
5043
* @param MessageInterface $message
5144
*/
5245
protected function failureDescription($message): string

0 commit comments

Comments
 (0)