Skip to content

Commit 0df73a8

Browse files
committed
Fix typo in error message
1 parent d8b067e commit 0df73a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static void _php_intlgregcal_constructor_body(INTERNAL_FUNCTION_PARAMETERS)
7777
rbbi = new RuleBasedBreakIterator((uint8_t*)rules, rules_len, status);
7878
if (U_FAILURE(status)) {
7979
intl_error_set(NULL, status, "rbbi_create_instance: unable to "
80-
"creaete instance from compiled rules", 0 TSRMLS_CC);
80+
"create instance from compiled rules", 0 TSRMLS_CC);
8181
RETURN_NULL();
8282
}
8383
#else

ext/intl/tests/breakiter___construct_error.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ Warning: IntlRuleBasedBreakIterator::__construct() expects parameter 2 to be boo
3434
Warning: IntlRuleBasedBreakIterator::__construct(): rbbi_create_instance: bad arguments in %s on line %d
3535
NULL
3636

37-
Warning: IntlRuleBasedBreakIterator::__construct(): rbbi_create_instance: unable to creaete instance from compiled rules in %s on line %d
37+
Warning: IntlRuleBasedBreakIterator::__construct(): rbbi_create_instance: unable to create instance from compiled rules in %s on line %d
3838
NULL

0 commit comments

Comments
 (0)