Skip to content

Commit 6aa33ed

Browse files
committed
[CS] Remove @inheritdoc PHPDoc
1 parent 0907a20 commit 6aa33ed

File tree

4 files changed

+0
-48
lines changed

4 files changed

+0
-48
lines changed

Cloner/VarCloner.php

-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ class VarCloner extends AbstractCloner
1919
private static string $gid;
2020
private static array $arrayCache = [];
2121

22-
/**
23-
* {@inheritdoc}
24-
*/
2522
protected function doClone(mixed $var): array
2623
{
2724
$len = 1; // Length of $queue

Dumper/CliDumper.php

-18
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ class CliDumper extends AbstractDumper
6161

6262
private bool $handlesHrefGracefully;
6363

64-
/**
65-
* {@inheritdoc}
66-
*/
6764
public function __construct($output = null, string $charset = null, int $flags = 0)
6865
{
6966
parent::__construct($output, $charset, $flags);
@@ -122,9 +119,6 @@ public function setDisplayOptions(array $displayOptions)
122119
$this->displayOptions = $displayOptions + $this->displayOptions;
123120
}
124121

125-
/**
126-
* {@inheritdoc}
127-
*/
128122
public function dumpScalar(Cursor $cursor, string $type, string|int|float|bool|null $value)
129123
{
130124
$this->dumpKey($cursor);
@@ -185,9 +179,6 @@ public function dumpScalar(Cursor $cursor, string $type, string|int|float|bool|n
185179
$this->endValue($cursor);
186180
}
187181

188-
/**
189-
* {@inheritdoc}
190-
*/
191182
public function dumpString(Cursor $cursor, string $str, bool $bin, int $cut)
192183
{
193184
$this->dumpKey($cursor);
@@ -273,9 +264,6 @@ public function dumpString(Cursor $cursor, string $str, bool $bin, int $cut)
273264
}
274265
}
275266

276-
/**
277-
* {@inheritdoc}
278-
*/
279267
public function enterHash(Cursor $cursor, int $type, string|int|null $class, bool $hasChild)
280268
{
281269
if (null === $this->colors) {
@@ -314,9 +302,6 @@ public function enterHash(Cursor $cursor, int $type, string|int|null $class, boo
314302
}
315303
}
316304

317-
/**
318-
* {@inheritdoc}
319-
*/
320305
public function leaveHash(Cursor $cursor, int $type, string|int|null $class, bool $hasChild, int $cut)
321306
{
322307
if (empty($cursor->attr['cut_hash'])) {
@@ -545,9 +530,6 @@ protected function supportsColors(): bool
545530
return static::$defaultColors = $this->hasColorSupport($h);
546531
}
547532

548-
/**
549-
* {@inheritdoc}
550-
*/
551533
protected function dumpLine(int $depth, bool $endOfValue = false)
552534
{
553535
if ($this->colors) {

Dumper/HtmlDumper.php

-24
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@ class HtmlDumper extends CliDumper
7474
];
7575
private array $extraDisplayOptions = [];
7676

77-
/**
78-
* {@inheritdoc}
79-
*/
8077
public function __construct($output = null, string $charset = null, int $flags = 0)
8178
{
8279
AbstractDumper::__construct($output, $charset, $flags);
@@ -85,9 +82,6 @@ public function __construct($output = null, string $charset = null, int $flags =
8582
$this->styles = static::$themes['dark'] ?? self::$themes['dark'];
8683
}
8784

88-
/**
89-
* {@inheritdoc}
90-
*/
9185
public function setStyles(array $styles)
9286
{
9387
$this->headerIsDumped = false;
@@ -131,9 +125,6 @@ public function setDumpBoundaries(string $prefix, string $suffix)
131125
$this->dumpSuffix = $suffix;
132126
}
133127

134-
/**
135-
* {@inheritdoc}
136-
*/
137128
public function dump(Data $data, $output = null, array $extraDisplayOptions = []): ?string
138129
{
139130
$this->extraDisplayOptions = $extraDisplayOptions;
@@ -782,9 +773,6 @@ function showCurrent(state)
782773
return $this->dumpHeader = preg_replace('/\s+/', ' ', $line).'</style>'.$this->dumpHeader;
783774
}
784775

785-
/**
786-
* {@inheritdoc}
787-
*/
788776
public function dumpString(Cursor $cursor, string $str, bool $bin, int $cut)
789777
{
790778
if ('' === $str && isset($cursor->attr['img-data'], $cursor->attr['content-type'])) {
@@ -800,9 +788,6 @@ public function dumpString(Cursor $cursor, string $str, bool $bin, int $cut)
800788
}
801789
}
802790

803-
/**
804-
* {@inheritdoc}
805-
*/
806791
public function enterHash(Cursor $cursor, int $type, string|int|null $class, bool $hasChild)
807792
{
808793
if (Cursor::HASH_OBJECT === $type) {
@@ -831,9 +816,6 @@ public function enterHash(Cursor $cursor, int $type, string|int|null $class, boo
831816
}
832817
}
833818

834-
/**
835-
* {@inheritdoc}
836-
*/
837819
public function leaveHash(Cursor $cursor, int $type, string|int|null $class, bool $hasChild, int $cut)
838820
{
839821
$this->dumpEllipsis($cursor, $hasChild, $cut);
@@ -843,9 +825,6 @@ public function leaveHash(Cursor $cursor, int $type, string|int|null $class, boo
843825
parent::leaveHash($cursor, $type, $class, $hasChild, 0);
844826
}
845827

846-
/**
847-
* {@inheritdoc}
848-
*/
849828
protected function style(string $style, string $value, array $attr = []): string
850829
{
851830
if ('' === $value) {
@@ -938,9 +917,6 @@ protected function style(string $style, string $value, array $attr = []): string
938917
return $v;
939918
}
940919

941-
/**
942-
* {@inheritdoc}
943-
*/
944920
protected function dumpLine(int $depth, bool $endOfValue = false)
945921
{
946922
if (-1 === $this->lastDepth) {

Dumper/ServerDumper.php

-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ public function getContextProviders(): array
4141
return $this->connection->getContextProviders();
4242
}
4343

44-
/**
45-
* {@inheritdoc}
46-
*/
4744
public function dump(Data $data)
4845
{
4946
if (!$this->connection->write($data) && $this->wrappedDumper) {

0 commit comments

Comments
 (0)