File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -645,14 +645,15 @@ static bool nr_drupal_hook_attribute_instrument(zval* module_handler) {
645
645
ZEND_HASH_FOREACH_STR_KEY_VAL (Z_ARRVAL_P (hook_implementation_map ), hook_key ,
646
646
hook_val ) {
647
647
if ((NULL == hook_key ) || (0 == nr_php_is_zval_valid_array (hook_val ))) {
648
- nrl_warning (NRL_FRAMEWORK , "hookImplementationsMap[hook]: invalid value" );
648
+ nrl_warning (NRL_FRAMEWORK ,
649
+ "hookImplementationsMap[hook]: invalid key or value" );
649
650
return false;
650
651
}
651
652
652
653
ZEND_HASH_FOREACH_STR_KEY_VAL (Z_ARRVAL_P (hook_val ), class_key , class_val ) {
653
654
if ((NULL == class_key ) || (0 == nr_php_is_zval_valid_array (class_val ))) {
654
655
nrl_warning (NRL_FRAMEWORK ,
655
- "hookImplementationsMap[class]: invalid value" );
656
+ "hookImplementationsMap[class]: invalid key or value" );
656
657
return false;
657
658
}
658
659
@@ -661,7 +662,7 @@ static bool nr_drupal_hook_attribute_instrument(zval* module_handler) {
661
662
if ((NULL == method_key )
662
663
|| (0 == nr_php_is_zval_valid_string (module_val ))) {
663
664
nrl_warning (NRL_FRAMEWORK ,
664
- "hookImplementationsMap[method]: invalid value" );
665
+ "hookImplementationsMap[method]: invalid key or value" );
665
666
return false;
666
667
}
667
668
You can’t perform that action at this time.
0 commit comments