From 0ad6429fee1e85febf6b0f24afd4ff83c240d697 Mon Sep 17 00:00:00 2001 From: Amir Muazzam Date: Mon, 13 Nov 2023 19:15:07 +0800 Subject: [PATCH] Fix RegistryTrait documentation (#6153) --- src/utils/EnumTrait.php | 2 +- src/utils/RegistryTrait.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/EnumTrait.php b/src/utils/EnumTrait.php index ee1bd4e35..7427e69f4 100644 --- a/src/utils/EnumTrait.php +++ b/src/utils/EnumTrait.php @@ -28,7 +28,7 @@ namespace pocketmine\utils; * __callStatic(). * * Classes using this trait need to include \@method tags in their class docblock for every enum member. - * Alternatively, just put \@generate-registry-docblock in the docblock and run tools/generate-registry-annotations.php + * Alternatively, just put \@generate-registry-docblock in the docblock and run build/generate-registry-annotations.php * * @deprecated Use native PHP 8.1 enums instead. Use {@link LegacyEnumShimTrait} if you need to provide backwards * compatible EnumTrait-like API for migrated enums. diff --git a/src/utils/RegistryTrait.php b/src/utils/RegistryTrait.php index 2071f4c07..cf231bf21 100644 --- a/src/utils/RegistryTrait.php +++ b/src/utils/RegistryTrait.php @@ -33,7 +33,7 @@ use function preg_match; * These faux constants are exposed in static class methods, which are handled using __callStatic(). * * Classes using this trait need to include \@method tags in their class docblock for every faux constant. - * Alternatively, just put \@generate-registry-docblock in the docblock and run tools/generate-registry-annotations.php + * Alternatively, just put \@generate-registry-docblock in the docblock and run build/generate-registry-annotations.php */ trait RegistryTrait{ /**