diff --git a/src/SwitchManager.php b/src/SwitchManager.php index b08d86d..c6722de 100644 --- a/src/SwitchManager.php +++ b/src/SwitchManager.php @@ -12,7 +12,7 @@ namespace FriendsOfHyperf\Telescope; /** - * @deprecated use FriendsOfHyperf\Telescope\TelescopeConfig instead + * @deprecated since v3.1, use FriendsOfHyperf\Telescope\TelescopeConfig instead, will be removed in v3.2 */ class SwitchManager extends TelescopeConfig { diff --git a/src/Telescope.php b/src/Telescope.php index 253eb10..afbc256 100644 --- a/src/Telescope.php +++ b/src/Telescope.php @@ -118,7 +118,7 @@ public static function recordClientRequest(IncomingEntry $entry): void } /** - * @deprecated the method has been deprecated and its usage is discouraged + * @deprecated since v3.1, the method has been deprecated and its usage is discouraged, will be removed in v3.2 */ public static function getAppName(): string { diff --git a/src/TelescopeConfig.php b/src/TelescopeConfig.php index 052b214..d7eb4f0 100644 --- a/src/TelescopeConfig.php +++ b/src/TelescopeConfig.php @@ -57,7 +57,7 @@ public function isServerEnable(): bool } /** - * @deprecated since v3.1, will remove in v3.2 + * @deprecated since v3.1, will be removed in v3.2 */ public function getServerHost(): string { @@ -65,7 +65,7 @@ public function getServerHost(): string } /** - * @deprecated since v3.1, will remove in v3.2 + * @deprecated since v3.1, will be removed in v3.2 */ public function getServerPort(): int { diff --git a/src/TelescopeContext.php b/src/TelescopeContext.php index dd40cf2..104a05f 100644 --- a/src/TelescopeContext.php +++ b/src/TelescopeContext.php @@ -56,7 +56,7 @@ public static function getSubBatchId(): ?string } /** - * @deprecated the method has been deprecated and its usage is discouraged + * @deprecated since v3.1, the method has been deprecated and its usage is discouraged, will be removed in v3.2 */ public static function setCachePacker(PackerInterface $packer): void { @@ -64,7 +64,7 @@ public static function setCachePacker(PackerInterface $packer): void } /** - * @deprecated the method has been deprecated and its usage is discouraged + * @deprecated since v3.1, the method has been deprecated and its usage is discouraged, will be removed in v3.2 */ public static function getCachePacker(): ?PackerInterface {