Skip to content

Commit 55d0e7b

Browse files
authored
Merge pull request #126 from aternosorg/fix-set-matches-php-doc
Use @inheritdoc in phpdoc for `setMatches()`
2 parents d7be011 + bbddac6 commit 55d0e7b

File tree

48 files changed

+53
-215
lines changed

Some content is hidden

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

48 files changed

+53
-215
lines changed

src/Analysis/Information/CrashReport/JavaVersionInformation.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ public static function getPatterns(): array
2424
}
2525

2626
/**
27-
* @param array $matches
28-
* @param mixed $patternKey
29-
* @return void
27+
* @inheritDoc
3028
*/
3129
public function setMatches(array $matches, mixed $patternKey): void
3230
{

src/Analysis/Information/Fabric/CrashReport/FabricVersionInformation.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ public static function getPatterns(): array
1212
}
1313

1414
/**
15-
* @param string[] $matches
16-
* @param mixed $patternKey
17-
* @return void
15+
* @inheritDoc
1816
*/
1917
public function setMatches(array $matches, mixed $patternKey): void
2018
{

src/Analysis/Information/Fabric/FabricJavaVersionInformation.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ public static function getPatterns(): array
3232
}
3333

3434
/**
35-
* @param array $matches
36-
* @param mixed $patternKey
37-
* @return void
35+
* @inheritDoc
3836
*/
3937
public function setMatches(array $matches, mixed $patternKey): void
4038
{

src/Analysis/Information/Fabric/FabricVersionInformation.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ public static function getPatterns(): array
3535
}
3636

3737
/**
38-
* @param string[] $matches
39-
* @param mixed $patternKey
40-
* @return void
38+
* @inheritDoc
4139
*/
4240
public function setMatches(array $matches, mixed $patternKey): void
4341
{

src/Analysis/Information/MinecraftInformation.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@
1313
abstract class MinecraftInformation extends Information implements PatternInsightInterface
1414
{
1515
/**
16-
* Apply the matches from the pattern
17-
*
18-
* @param array $matches
19-
* @param mixed $patternKey
20-
* @return void
16+
* @inheritDoc
2117
*/
2218
public function setMatches(array $matches, mixed $patternKey): void
2319
{

src/Analysis/Information/Quilt/QuiltJavaVersionInformation.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ public static function getPatterns(): array
2626
}
2727

2828
/**
29-
* @param string[] $matches
30-
* @param mixed $patternKey
31-
* @return void
29+
* @inheritDoc
3230
*/
3331
public function setMatches(array $matches, mixed $patternKey): void
3432
{

src/Analysis/Information/Quilt/QuiltVersionInformation.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ public static function getPatterns(): array
3232
}
3333

3434
/**
35-
* @param string[] $matches
36-
* @param mixed $patternKey
37-
* @return void
35+
* @inheritDoc
3836
*/
3937
public function setMatches(array $matches, mixed $patternKey): void
4038
{

src/Analysis/Problem/Bedrock/BedrockAuthenticationAllowlistProblem.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ public static function getPatterns(): array
3030
}
3131

3232
/**
33-
* Apply the matches from the pattern
34-
*
35-
* @param array $matches
36-
* @param mixed $patternKey
37-
* @return void
33+
* @inheritDoc
3834
*/
3935
public function setMatches(array $matches, mixed $patternKey): void
4036
{

src/Analysis/Problem/Bedrock/BedrockAuthenticationWhitelistProblem.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ public static function getPatterns(): array
3030
}
3131

3232
/**
33-
* Apply the matches from the pattern
34-
*
35-
* @param array $matches
36-
* @param mixed $patternKey
37-
* @return void
33+
* @inheritDoc
3834
*/
3935
public function setMatches(array $matches, mixed $patternKey): void
4036
{

src/Analysis/Problem/Bedrock/BedrockDBStorageChainProblem.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ public static function getPatterns(): array
2929
}
3030

3131
/**
32-
* Apply the matches from the pattern
33-
*
34-
* @param array $matches
35-
* @param mixed $patternKey
36-
* @return void
32+
* @inheritDoc
3733
*/
3834
public function setMatches(array $matches, mixed $patternKey): void
3935
{

0 commit comments

Comments
 (0)