@@ -40,15 +40,15 @@ final class EnchantDictionary
40
40
41
41
function enchant_broker_init (): EnchantBroker |false {}
42
42
43
- /** @deprecated */
43
+ #[\Deprecated(message: ' EnchantBroker object is freed automatically ' , since: ' 8.1 ' )]
44
44
function enchant_broker_free (EnchantBroker $ broker ): bool {}
45
45
46
46
function enchant_broker_get_error (EnchantBroker $ broker ): string |false {}
47
47
48
- /** @deprecated */
48
+ #[\Deprecated(since: ' 8.1 ' )]
49
49
function enchant_broker_set_dict_path (EnchantBroker $ broker , int $ type , string $ path ): bool {}
50
50
51
- /** @deprecated */
51
+ #[\Deprecated(since: ' 8.1 ' )]
52
52
function enchant_broker_get_dict_path (EnchantBroker $ broker , int $ type ): string |false {}
53
53
54
54
/**
@@ -61,7 +61,7 @@ function enchant_broker_request_dict(EnchantBroker $broker, string $tag): Enchan
61
61
62
62
function enchant_broker_request_pwl_dict (EnchantBroker $ broker , string $ filename ): EnchantDictionary |false {}
63
63
64
- /** @deprecated */
64
+ #[\Deprecated(message: ' EnchantDictionary object is freed automatically ' , since: ' 8.1 ' )]
65
65
function enchant_broker_free_dict (EnchantDictionary $ dictionary ): bool {}
66
66
67
67
function enchant_broker_dict_exists (EnchantBroker $ broker , string $ tag ): bool {}
@@ -89,8 +89,8 @@ function enchant_dict_add(EnchantDictionary $dictionary, string $word): void {}
89
89
90
90
/**
91
91
* @alias enchant_dict_add
92
- * @deprecated
93
92
*/
93
+ #[\Deprecated(since: '8.1 ' )]
94
94
function enchant_dict_add_to_personal (EnchantDictionary $ dictionary , string $ word ): void {}
95
95
96
96
function enchant_dict_add_to_session (EnchantDictionary $ dictionary , string $ word ): void {}
@@ -99,8 +99,8 @@ function enchant_dict_is_added(EnchantDictionary $dictionary, string $word): boo
99
99
100
100
/**
101
101
* @alias enchant_dict_is_added
102
- * @deprecated
103
102
*/
103
+ #[\Deprecated(since: '8.1 ' )]
104
104
function enchant_dict_is_in_session (EnchantDictionary $ dictionary , string $ word ): bool {}
105
105
106
106
function enchant_dict_store_replacement (EnchantDictionary $ dictionary , string $ misspelled , string $ correct ): void {}
0 commit comments