From ab5c8a3715a1f3287811d1b253022a0682f9e8fe Mon Sep 17 00:00:00 2001 From: Giuseppe Mazzapica Date: Thu, 29 Aug 2024 22:08:04 +0200 Subject: [PATCH] Add back-compat alias for Pacakage::ACTION_FAILED_CONNECTION --- src/Package.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Package.php b/src/Package.php index 1337de4..737a999 100644 --- a/src/Package.php +++ b/src/Package.php @@ -103,7 +103,7 @@ class Package /** * Action fired when a package connection failed. */ - public const ACTION_FAILED_CONNECT = 'failed-connect'; + public const ACTION_FAILED_CONNECT = 'failed-connection'; /** * Action fired when a package is connected successfully. @@ -156,6 +156,8 @@ class Package public const STATUS_MODULES_ADDED = self::STATUS_BOOTING; /** @deprecated */ public const ACTION_READY = self::ACTION_BOOTED; + /** @deprecated */ + public const ACTION_FAILED_CONNECTION = self::ACTION_FAILED_CONNECT; // Map of status to package-specific and global hook, both optional (i..e, null). private const STATUSES_ACTIONS_MAP = [