Skip to content

Commit 2c61a91

Browse files
Clean up per code review
1 parent c911341 commit 2c61a91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/reflection/php_reflection.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1322,14 +1322,14 @@ PHPAPI void zend_reflection_class_factory(zend_class_entry *ce, zval *object)
13221322
/* }}} */
13231323

13241324
/* {{{ reflection_extension_factory_ex */
1325-
static void reflection_extension_factory_ex(zval *object, struct _zend_module_entry *module)
1325+
static void reflection_extension_factory_ex(zval *object, zend_module_entry *module)
13261326
{
13271327
reflection_instantiate(reflection_extension_ptr, object);
13281328
reflection_object *intern = Z_REFLECTION_P(object);
13291329
intern->ptr = module;
13301330
intern->ref_type = REF_TYPE_OTHER;
13311331
intern->ce = NULL;
1332-
ZVAL_STRINGL(reflection_prop_name(object), module->name, strlen(module->name));
1332+
ZVAL_STRING(reflection_prop_name(object), module->name);
13331333
}
13341334
/* }}} */
13351335

0 commit comments

Comments
 (0)