Skip to content

Commit d7be011

Browse files
authored
Merge pull request #125 from aternosorg/fix-get-message-php-doc
Use @inheritdoc in phpdoc for `getMessage()` and `getPatterns()`
2 parents 1b09425 + 2952a78 commit d7be011

File tree

74 files changed

+74
-228
lines changed

Some content is hidden

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

74 files changed

+74
-228
lines changed

src/Analysis/Information/Magma/MagmaVersionInformation.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ public function __construct()
2020
}
2121

2222
/**
23-
* Get an array of possible patterns
24-
*
25-
* The array key of the pattern will be passed to setMatches()
26-
*
27-
* @return array
23+
* @inheritDoc
2824
*/
2925
public static function getPatterns(): array
3026
{

src/Analysis/Information/Mohist/MohistForgeVersionInformation.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@
1212
class MohistForgeVersionInformation extends ForgeVersionInformation
1313
{
1414
/**
15-
* Get an array of possible patterns
16-
*
17-
* The array key of the pattern will be passed to setMatches()
18-
*
19-
* @return array
15+
* @inheritDoc
2016
*/
2117
public static function getPatterns(): array
2218
{

src/Analysis/Information/Pocketmine/PocketmineBedrockVersionInformation.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@ public function __construct()
2121
}
2222

2323
/**
24-
* Get an array of possible patterns
25-
*
26-
* The array key of the pattern will be passed to setMatches()
27-
*
28-
* @return array
24+
* @inheritDoc
2925
*/
3026
public static function getPatterns(): array
3127
{

src/Analysis/Problem/Bedrock/BedrockAuthenticationAllowlistProblem.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
class BedrockAuthenticationAllowlistProblem extends BedrockProblem
1515
{
1616
/**
17-
* Get a human-readable message
18-
*
19-
* @return string
17+
* @inheritDoc
2018
*/
2119
public function getMessage(): string
2220
{

src/Analysis/Problem/Bedrock/BedrockAuthenticationWhitelistProblem.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
class BedrockAuthenticationWhitelistProblem extends BedrockProblem
1515
{
1616
/**
17-
* Get a human-readable message
18-
*
19-
* @return string
17+
* @inheritDoc
2018
*/
2119
public function getMessage(): string
2220
{

src/Analysis/Problem/Bedrock/BedrockDBStorageChainProblem.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
class BedrockDBStorageChainProblem extends BedrockProblem
1414
{
1515
/**
16-
* Get a human-readable message
17-
*
18-
* @return string
16+
* @inheritDoc
1917
*/
2018
public function getMessage(): string
2119
{

src/Analysis/Problem/Bukkit/AmbiguousPluginNameProblem.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ class AmbiguousPluginNameProblem extends PluginProblem
1717
protected ?string $secondPluginPath = null;
1818

1919
/**
20-
* Get a human-readable message
21-
*
22-
* @return string
20+
* @inheritDoc
2321
*/
2422
public function getMessage(): string
2523
{

src/Analysis/Problem/Bukkit/ChunkLoadExceptionProblem.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
class ChunkLoadExceptionProblem extends BukkitProblem
1616
{
1717
/**
18-
* Get a human-readable message
19-
*
20-
* @return string
18+
* @inheritDoc
2119
*/
2220
public function getMessage(): string
2321
{

src/Analysis/Problem/Bukkit/Plugin/AuthMeShutdownProblem.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
class AuthMeShutdownProblem extends SpecificPluginProblem
1717
{
1818
/**
19-
* Get a human-readable message
20-
*
21-
* @return string
19+
* @inheritDoc
2220
*/
2321
public function getMessage(): string
2422
{

src/Analysis/Problem/Bukkit/Plugin/MultiverseLoadProblem.php

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

2626
/**
27-
* Get a human-readable message
28-
*
29-
* @return string
27+
* @inheritDoc
3028
*/
3129
public function getMessage(): string
3230
{

0 commit comments

Comments
 (0)