Skip to content

Commit

Permalink
deprecated ObjectMixin::getSuggestion()
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Oct 25, 2018
1 parent bc04e9f commit 8bb70ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Utils/ObjectMixin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 8bb70ae

Please sign in to comment.