Skip to content

Commit 3d3fca6

Browse files
[%pS migration] Use %pS in ext/spl/spl_observer.c
1 parent b36f2f5 commit 3d3fca6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎ext/spl/spl_observer.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ static zend_result spl_object_storage_get_hash(zend_hash_key *key, spl_SplObject
106106
} else {
107107
/* TODO PHP 9: Remove this as this will be enforced from the return type */
108108
if (UNEXPECTED(Z_TYPE(rv) != IS_STRING)) {
109-
zend_type_error("%s::getHash(): Return value must be of type string, %s returned",
110-
ZSTR_VAL(intern->std.ce->name), zend_zval_value_name(&rv));
109+
zend_type_error("%pS::getHash(): Return value must be of type string, %s returned",
110+
intern->std.ce->name, zend_zval_value_name(&rv));
111111
zval_ptr_dtor(&rv);
112112
return FAILURE;
113113
} else {

0 commit comments

Comments
 (0)