From 8bb70ae9520528e198bbe40d3c5e7d5ee3bd0993 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Thu, 25 Oct 2018 22:55:20 +0200 Subject: [PATCH] deprecated ObjectMixin::getSuggestion() --- src/Utils/ObjectMixin.php | 1 + 1 file changed, 1 insertion(+) 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); }