summaryrefslogtreecommitdiff
path: root/Zend/zend_attributes.c
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2021-03-06 00:56:25 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2021-03-06 00:56:25 +0100
commit0f8312342f3b0a639cd583b53ccdea56019d2685 (patch)
tree4eb5ae0309fa55a98613c3a517fe1d0c46530379 /Zend/zend_attributes.c
parent8462a3de1a1092e5526940e5e447bcf6a7a9a5d1 (diff)
downloadphp-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.c2
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)
);
}