diff --git a/src/Utils/ObjectMixin.php b/src/Utils/ObjectMixin.php index 21bb0fee6..36559f2db 100644 --- a/src/Utils/ObjectMixin.php +++ b/src/Utils/ObjectMixin.php @@ -25,6 +25,7 @@ final class ObjectMixin */ public static function getSuggestion(array $possibilities, string $value): ?string { + trigger_error(__METHOD__ . '() has been renamed to Nette\Utils\ObjectHelpers::getSuggestion()', E_USER_DEPRECATED); return ObjectHelpers::getSuggestion($possibilities, $value); }