diff options
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/tests/attributes/021_attribute_flags_type_is_validated.phpt | 2 | ||||
-rw-r--r-- | Zend/zend_attributes.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/attributes/021_attribute_flags_type_is_validated.phpt b/Zend/tests/attributes/021_attribute_flags_type_is_validated.phpt index 7c1bfd2da7..01ab29c5ef 100644 --- a/Zend/tests/attributes/021_attribute_flags_type_is_validated.phpt +++ b/Zend/tests/attributes/021_attribute_flags_type_is_validated.phpt @@ -8,4 +8,4 @@ class A1 { } ?> --EXPECTF-- -Fatal error: Attribute::__construct(): Argument #1 ($flags) must must be of type int, string given in %s +Fatal error: Attribute::__construct(): Argument #1 ($flags) must be of type int, string given in %s diff --git a/Zend/zend_attributes.c b/Zend/zend_attributes.c index ae07802b5b..f8d384301a 100644 --- a/Zend/zend_attributes.c +++ b/Zend/zend_attributes.c @@ -42,7 +42,7 @@ void validate_attribute(zend_attribute *attr, uint32_t target, zend_class_entry if (Z_TYPE(flags) != IS_LONG) { zend_error_noreturn(E_ERROR, - "Attribute::__construct(): Argument #1 ($flags) must must be of type int, %s given", + "Attribute::__construct(): Argument #1 ($flags) must be of type int, %s given", zend_zval_type_name(&flags) ); } |