Skip to content

Commit c05c7a2

Browse files
committed
fix parameter name
1 parent a1535f1 commit c05c7a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/enchant/enchant.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function describe(): ?array {}
3131

3232
final class EnchantDict
3333
{
34-
public function __construct(EnchantBroker $broker, string $tag, ?string $tag = null) {}
34+
public function __construct(EnchantBroker $broker, string $tag, ?string $pwl = null) {}
3535

3636
/** @alias enchant_dict_quick_check */
3737
public function checkAndSuggest(string $word, &$suggestions = null): bool {}

ext/enchant/enchant_arginfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ ZEND_END_ARG_INFO()
127127
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_EnchantDict___construct, 0, 0, 2)
128128
ZEND_ARG_OBJ_INFO(0, broker, EnchantBroker, 0)
129129
ZEND_ARG_TYPE_INFO(0, tag, IS_STRING, 0)
130-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, tag, IS_STRING, 1, "null")
130+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pwl, IS_STRING, 1, "null")
131131
ZEND_END_ARG_INFO()
132132

133133
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_EnchantDict_checkAndSuggest, 0, 1, _IS_BOOL, 0)

0 commit comments

Comments
 (0)