diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2021-03-06 00:56:25 +0100 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2021-03-06 00:56:25 +0100 |
commit | 0f8312342f3b0a639cd583b53ccdea56019d2685 (patch) | |
tree | 4eb5ae0309fa55a98613c3a517fe1d0c46530379 /Zend/zend_attributes.c | |
parent | 8462a3de1a1092e5526940e5e447bcf6a7a9a5d1 (diff) | |
download | php-git-0f8312342f3b0a639cd583b53ccdea56019d2685.tar.gz |
Fix the error message of attribute flag validation
Diffstat (limited to 'Zend/zend_attributes.c')
-rw-r--r-- | Zend/zend_attributes.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) ); } |