Skip to content

Commit 8d2ebdb

Browse files
committed
[CS] Remove @inheritdoc PHPDoc
1 parent 845c314 commit 8d2ebdb

File tree

119 files changed

+0
-707
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+0
-707
lines changed

ConstraintValidator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ abstract class ConstraintValidator implements ConstraintValidatorInterface
3636
*/
3737
protected $context;
3838

39-
/**
40-
* {@inheritdoc}
41-
*/
4239
public function initialize(ExecutionContextInterface $context)
4340
{
4441
$this->context = $context;

ConstraintValidatorFactory.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ public function __construct()
3030
{
3131
}
3232

33-
/**
34-
* {@inheritdoc}
35-
*/
3633
public function getInstance(Constraint $constraint): ConstraintValidatorInterface
3734
{
3835
$className = $constraint->validatedBy();

ConstraintViolation.php

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ public function __construct(string|\Stringable $message, ?string $messageTemplat
6363
$this->cause = $cause;
6464
}
6565

66-
/**
67-
* {@inheritdoc}
68-
*/
6966
public function __toString(): string
7067
{
7168
if (\is_object($this->root)) {
@@ -89,57 +86,36 @@ public function __toString(): string
8986
return $class.$propertyPath.":\n ".$this->getMessage().$code;
9087
}
9188

92-
/**
93-
* {@inheritdoc}
94-
*/
9589
public function getMessageTemplate(): string
9690
{
9791
return (string) $this->messageTemplate;
9892
}
9993

100-
/**
101-
* {@inheritdoc}
102-
*/
10394
public function getParameters(): array
10495
{
10596
return $this->parameters;
10697
}
10798

108-
/**
109-
* {@inheritdoc}
110-
*/
11199
public function getPlural(): ?int
112100
{
113101
return $this->plural;
114102
}
115103

116-
/**
117-
* {@inheritdoc}
118-
*/
119104
public function getMessage(): string|\Stringable
120105
{
121106
return $this->message;
122107
}
123108

124-
/**
125-
* {@inheritdoc}
126-
*/
127109
public function getRoot(): mixed
128110
{
129111
return $this->root;
130112
}
131113

132-
/**
133-
* {@inheritdoc}
134-
*/
135114
public function getPropertyPath(): string
136115
{
137116
return (string) $this->propertyPath;
138117
}
139118

140-
/**
141-
* {@inheritdoc}
142-
*/
143119
public function getInvalidValue(): mixed
144120
{
145121
return $this->invalidValue;
@@ -161,9 +137,6 @@ public function getCause(): mixed
161137
return $this->cause;
162138
}
163139

164-
/**
165-
* {@inheritdoc}
166-
*/
167140
public function getCode(): ?string
168141
{
169142
return $this->code;

ConstraintViolationList.php

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ public static function createFromMessage(string $message): self
4545
return $self;
4646
}
4747

48-
/**
49-
* {@inheritdoc}
50-
*/
5148
public function __toString(): string
5249
{
5350
$string = '';
@@ -59,27 +56,18 @@ public function __toString(): string
5956
return $string;
6057
}
6158

62-
/**
63-
* {@inheritdoc}
64-
*/
6559
public function add(ConstraintViolationInterface $violation)
6660
{
6761
$this->violations[] = $violation;
6862
}
6963

70-
/**
71-
* {@inheritdoc}
72-
*/
7364
public function addAll(ConstraintViolationListInterface $otherList)
7465
{
7566
foreach ($otherList as $violation) {
7667
$this->violations[] = $violation;
7768
}
7869
}
7970

80-
/**
81-
* {@inheritdoc}
82-
*/
8371
public function get(int $offset): ConstraintViolationInterface
8472
{
8573
if (!isset($this->violations[$offset])) {
@@ -89,33 +77,22 @@ public function get(int $offset): ConstraintViolationInterface
8977
return $this->violations[$offset];
9078
}
9179

92-
/**
93-
* {@inheritdoc}
94-
*/
9580
public function has(int $offset): bool
9681
{
9782
return isset($this->violations[$offset]);
9883
}
9984

100-
/**
101-
* {@inheritdoc}
102-
*/
10385
public function set(int $offset, ConstraintViolationInterface $violation)
10486
{
10587
$this->violations[$offset] = $violation;
10688
}
10789

108-
/**
109-
* {@inheritdoc}
110-
*/
11190
public function remove(int $offset)
11291
{
11392
unset($this->violations[$offset]);
11493
}
11594

11695
/**
117-
* {@inheritdoc}
118-
*
11996
* @return \ArrayIterator<int, ConstraintViolationInterface>
12097
*/
12198
public function getIterator(): \ArrayIterator

Constraints/AbstractComparison.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ public function __construct(mixed $value = null, string $propertyPath = null, st
5454
}
5555
}
5656

57-
/**
58-
* {@inheritdoc}
59-
*/
6057
public function getDefaultOption(): ?string
6158
{
6259
return 'value';

Constraints/AbstractComparisonValidator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ public function __construct(PropertyAccessorInterface $propertyAccessor = null)
3434
$this->propertyAccessor = $propertyAccessor;
3535
}
3636

37-
/**
38-
* {@inheritdoc}
39-
*/
4037
public function validate(mixed $value, Constraint $constraint)
4138
{
4239
if (!$constraint instanceof AbstractComparison) {

Constraints/AllValidator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
*/
2222
class AllValidator extends ConstraintValidator
2323
{
24-
/**
25-
* {@inheritdoc}
26-
*/
2724
public function validate(mixed $value, Constraint $constraint)
2825
{
2926
if (!$constraint instanceof All) {

Constraints/AtLeastOneOfValidator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
*/
2121
class AtLeastOneOfValidator extends ConstraintValidator
2222
{
23-
/**
24-
* {@inheritdoc}
25-
*/
2623
public function validate(mixed $value, Constraint $constraint)
2724
{
2825
if (!$constraint instanceof AtLeastOneOf) {

Constraints/Bic.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ class Bic extends Constraint
5151
public $iban;
5252
public $ibanPropertyPath;
5353

54-
/**
55-
* {@inheritdoc}
56-
*/
5754
public function __construct(array $options = null, string $message = null, string $iban = null, string $ibanPropertyPath = null, string $ibanMessage = null, array $groups = null, mixed $payload = null)
5855
{
5956
if (!class_exists(Countries::class)) {

Constraints/BicValidator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ public function __construct(PropertyAccessor $propertyAccessor = null)
5555
$this->propertyAccessor = $propertyAccessor;
5656
}
5757

58-
/**
59-
* {@inheritdoc}
60-
*/
6158
public function validate(mixed $value, Constraint $constraint)
6259
{
6360
if (!$constraint instanceof Bic) {

0 commit comments

Comments
 (0)