Skip to content

Commit 24ad114

Browse files
committed
[CS] Remove @inheritdoc PHPDoc
1 parent ce0eac4 commit 24ad114

16 files changed

+0
-150
lines changed

Data/Bundle/Compiler/GenrbCompiler.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ public function __construct(string $genrb = 'genrb', string $envVars = '')
4343
$this->genrb = ($envVars ? $envVars.' ' : '').$genrb;
4444
}
4545

46-
/**
47-
* {@inheritdoc}
48-
*/
4946
public function compile(string $sourcePath, string $targetDir)
5047
{
5148
if (is_dir($sourcePath)) {

Data/Bundle/Reader/BufferedBundleReader.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ public function __construct(BundleReaderInterface $reader, int $bufferSize)
3030
$this->buffer = new RingBuffer($bufferSize);
3131
}
3232

33-
/**
34-
* {@inheritdoc}
35-
*/
3633
public function read(string $path, string $locale): mixed
3734
{
3835
$hash = $path.'//'.$locale;

Data/Bundle/Reader/BundleEntryReader.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,11 @@ public function setLocaleAliases(array $localeAliases)
5858
$this->localeAliases = $localeAliases;
5959
}
6060

61-
/**
62-
* {@inheritdoc}
63-
*/
6461
public function read(string $path, string $locale): mixed
6562
{
6663
return $this->reader->read($path, $locale);
6764
}
6865

69-
/**
70-
* {@inheritdoc}
71-
*/
7266
public function readEntry(string $path, string $locale, array $indices, bool $fallback = true): mixed
7367
{
7468
$entry = null;

Data/Bundle/Reader/IntlBundleReader.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
*/
2424
class IntlBundleReader implements BundleReaderInterface
2525
{
26-
/**
27-
* {@inheritdoc}
28-
*/
2926
public function read(string $path, string $locale): mixed
3027
{
3128
// Point for future extension: Modify this class so that it works also

Data/Bundle/Reader/JsonBundleReader.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
*/
2424
class JsonBundleReader implements BundleReaderInterface
2525
{
26-
/**
27-
* {@inheritdoc}
28-
*/
2926
public function read(string $path, string $locale): mixed
3027
{
3128
$fileName = $path.'/'.$locale.'.json';

Data/Bundle/Reader/PhpBundleReader.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
*/
2323
class PhpBundleReader implements BundleReaderInterface
2424
{
25-
/**
26-
* {@inheritdoc}
27-
*/
2825
public function read(string $path, string $locale): mixed
2926
{
3027
$fileName = $path.'/'.$locale.'.php';

Data/Bundle/Writer/JsonBundleWriter.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
*/
2121
class JsonBundleWriter implements BundleWriterInterface
2222
{
23-
/**
24-
* {@inheritdoc}
25-
*/
2623
public function write(string $path, string $locale, mixed $data)
2724
{
2825
if ($data instanceof \Traversable) {

Data/Bundle/Writer/PhpBundleWriter.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
*/
2121
class PhpBundleWriter implements BundleWriterInterface
2222
{
23-
/**
24-
* {@inheritdoc}
25-
*/
2623
public function write(string $path, string $locale, mixed $data)
2724
{
2825
$template = <<<'TEMPLATE'

Data/Bundle/Writer/TextBundleWriter.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
*/
2727
class TextBundleWriter implements BundleWriterInterface
2828
{
29-
/**
30-
* {@inheritdoc}
31-
*/
3229
public function write(string $path, string $locale, mixed $data, bool $fallback = true)
3330
{
3431
$file = fopen($path.'/'.$locale.'.txt', 'w');

Data/Generator/CurrencyDataGenerator.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -48,34 +48,22 @@ class CurrencyDataGenerator extends AbstractDataGenerator
4848
*/
4949
private array $currencyCodes = [];
5050

51-
/**
52-
* {@inheritdoc}
53-
*/
5451
protected function scanLocales(LocaleScanner $scanner, string $sourceDir): array
5552
{
5653
return $scanner->scanLocales($sourceDir.'/curr');
5754
}
5855

59-
/**
60-
* {@inheritdoc}
61-
*/
6256
protected function compileTemporaryBundles(BundleCompilerInterface $compiler, string $sourceDir, string $tempDir)
6357
{
6458
$compiler->compile($sourceDir.'/curr', $tempDir);
6559
$compiler->compile($sourceDir.'/misc/currencyNumericCodes.txt', $tempDir);
6660
}
6761

68-
/**
69-
* {@inheritdoc}
70-
*/
7162
protected function preGenerate()
7263
{
7364
$this->currencyCodes = [];
7465
}
7566

76-
/**
77-
* {@inheritdoc}
78-
*/
7967
protected function generateDataForLocale(BundleEntryReaderInterface $reader, string $tempDir, string $displayLocale): ?array
8068
{
8169
$localeBundle = $reader->read($tempDir, $displayLocale);
@@ -93,9 +81,6 @@ protected function generateDataForLocale(BundleEntryReaderInterface $reader, str
9381
return null;
9482
}
9583

96-
/**
97-
* {@inheritdoc}
98-
*/
9984
protected function generateDataForRoot(BundleEntryReaderInterface $reader, string $tempDir): ?array
10085
{
10186
$rootBundle = $reader->read($tempDir, 'root');
@@ -105,9 +90,6 @@ protected function generateDataForRoot(BundleEntryReaderInterface $reader, strin
10590
];
10691
}
10792

108-
/**
109-
* {@inheritdoc}
110-
*/
11193
protected function generateDataForMeta(BundleEntryReaderInterface $reader, string $tempDir): ?array
11294
{
11395
$supplementalDataBundle = $reader->read($tempDir, 'supplementalData');

0 commit comments

Comments
 (0)