Skip to content

Commit 390bb7c

Browse files
authored
Merge pull request #122 from aternosorg/fix-get-detectors-php-doc
Use @inheritdoc in phpdoc for getDetectors()
2 parents 040fb42 + 04dd7fa commit 390bb7c

33 files changed

+33
-64
lines changed

src/Log/Minecraft/BungeeCord/BungeeCordLog.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Aternos\Codex\Minecraft\Log\Minecraft\BungeeCord;
44

5-
use Aternos\Codex\Detective\DetectorInterface;
65
use Aternos\Codex\Detective\SinglePatternDetector;
76
use Aternos\Codex\Minecraft\Analyser\BungeeCordAnalyser;
87
use Aternos\Codex\Minecraft\Log\Minecraft\MinecraftLog;
@@ -26,7 +25,7 @@ public static function getDefaultAnalyser(): BungeeCordAnalyser
2625
}
2726

2827
/**
29-
* @return DetectorInterface[]
28+
* @inheritDoc
3029
*/
3130
public static function getDetectors(): array
3231
{

src/Log/Minecraft/BungeeCord/Waterfall/WaterfallLog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ abstract class WaterfallLog extends BungeeCordLog
1616
protected static string $prefixPattern = '(\[(?:[0-9]{2}\:?){3}\] \[[^\/]+\/(\w+)\]\:) ';
1717

1818
/**
19-
* @return array
19+
* @inheritDoc
2020
*/
2121
public static function getDetectors(): array
2222
{

src/Log/Minecraft/CustomSkinLoader/CustomSkinLoaderClientLog.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22

33
namespace Aternos\Codex\Minecraft\Log\Minecraft\CustomSkinLoader;
44

5-
use Aternos\Codex\Detective\DetectorInterface;
65
use Aternos\Codex\Detective\SinglePatternDetector;
76
use Aternos\Codex\Minecraft\Analysis\Information\CustomSkinLoader\CustomSkinLoaderVersionInformation;
87
use Aternos\Codex\Minecraft\Log\Type\ClientLogTypeInterface;
98

109
class CustomSkinLoaderClientLog extends CustomSkinLoaderLog implements ClientLogTypeInterface
1110
{
1211
/**
13-
* @return DetectorInterface[]
12+
* @inheritDoc
1413
*/
1514
public static function getDetectors(): array
1615
{

src/Log/Minecraft/Geyser/GeyserLog.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Aternos\Codex\Minecraft\Log\Minecraft\Geyser;
44

5-
use Aternos\Codex\Detective\DetectorInterface;
65
use Aternos\Codex\Detective\SinglePatternDetector;
76
use Aternos\Codex\Minecraft\Analyser\GeyserAnalyser;
87
use Aternos\Codex\Minecraft\Log\Minecraft\MinecraftLog;
@@ -26,7 +25,7 @@ public static function getDefaultAnalyser(): GeyserAnalyser
2625
}
2726

2827
/**
29-
* @return DetectorInterface[]
28+
* @inheritDoc
3029
*/
3130
public static function getDetectors(): array
3231
{

src/Log/Minecraft/MinecraftLog.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ public static function getDefaultParser(): ParserInterface
5050
}
5151

5252
/**
53-
* Get an array of detectors matching DetectorInterface
54-
*
55-
* @return array
53+
* @inheritDoc
5654
*/
5755
public static function getDetectors(): array
5856
{

src/Log/Minecraft/Pocketmine/PocketmineLog.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Aternos\Codex\Minecraft\Log\Minecraft\Pocketmine;
44

5-
use Aternos\Codex\Detective\DetectorInterface;
65
use Aternos\Codex\Detective\SinglePatternDetector;
76
use Aternos\Codex\Minecraft\Analyser\PocketmineAnalyser;
87
use Aternos\Codex\Minecraft\Analysis\Information\Pocketmine\PocketmineBedrockVersionInformation;
@@ -33,7 +32,7 @@ public static function getDefaultParser(): ParserInterface
3332
}
3433

3534
/**
36-
* @return DetectorInterface[]
35+
* @inheritDoc
3736
*/
3837
public static function getDetectors(): array
3938
{

src/Log/Minecraft/PrismLauncher/PrismLauncherLog.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Aternos\Codex\Minecraft\Log\Minecraft\PrismLauncher;
44

5-
use Aternos\Codex\Detective\DetectorInterface;
65
use Aternos\Codex\Detective\SinglePatternDetector;
76
use Aternos\Codex\Minecraft\Log\Minecraft\MinecraftLog;
87
use Aternos\Codex\Minecraft\Parser\Parser;
@@ -23,7 +22,7 @@ public static function getDefaultParser(): Parser
2322
}
2423

2524
/**
26-
* @return DetectorInterface[]
25+
* @inheritDoc
2726
*/
2827
public static function getDetectors(): array
2928
{

src/Log/Minecraft/Vanilla/Bukkit/CraftBukkit/CraftBukkitLog.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\CraftBukkit;
44

5-
use Aternos\Codex\Detective\DetectorInterface;
65
use Aternos\Codex\Detective\SinglePatternDetector;
76
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\BukkitLog;
87

@@ -16,7 +15,7 @@ abstract class CraftBukkitLog extends BukkitLog
1615
protected static string $logIdentifier = "CraftBukkit version git\-Bukkit";
1716

1817
/**
19-
* @return DetectorInterface[]
18+
* @inheritDoc
2019
*/
2120
public static function getDetectors(): array
2221
{

src/Log/Minecraft/Vanilla/Bukkit/CraftBukkit/OldCraftBukkitLog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static function getDefaultAnalyser(): BukkitAnalyser
2424
}
2525

2626
/**
27-
* @return array
27+
* @inheritDoc
2828
*/
2929
public static function getDetectors(): array
3030
{

src/Log/Minecraft/Vanilla/Bukkit/Folia/FoliaCrashReport.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\Folia;
44

5-
use Aternos\Codex\Detective\DetectorInterface;
65
use Aternos\Codex\Detective\MultiPatternDetector;
76
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\VanillaCrashReportTrait;
87
use Aternos\Codex\Minecraft\Log\Type\CrashReportLogTypeInterface;
@@ -17,7 +16,7 @@ class FoliaCrashReport extends FoliaLog implements CrashReportLogTypeInterface
1716
use VanillaCrashReportTrait;
1817

1918
/**
20-
* @return DetectorInterface[]
19+
* @inheritDoc
2120
*/
2221
public static function getDetectors(): array
2322
{

0 commit comments

Comments
 (0)