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 @@ -642,14 +642,15 @@ static bool nr_drupal_hook_attribute_instrument(zval* module_handler) {
642
642
ZEND_HASH_FOREACH_STR_KEY_VAL (Z_ARRVAL_P (hook_implementation_map ), hook_key ,
643
643
hook_val ) {
644
644
if ((NULL == hook_key ) || (0 == nr_php_is_zval_valid_array (hook_val ))) {
645
- nrl_warning (NRL_FRAMEWORK , "hookImplementationsMap[hook]: invalid value" );
645
+ nrl_warning (NRL_FRAMEWORK ,
646
+ "hookImplementationsMap[hook]: invalid key or value" );
646
647
return false;
647
648
}
648
649
649
650
ZEND_HASH_FOREACH_STR_KEY_VAL (Z_ARRVAL_P (hook_val ), class_key , class_val ) {
650
651
if ((NULL == class_key ) || (0 == nr_php_is_zval_valid_array (class_val ))) {
651
652
nrl_warning (NRL_FRAMEWORK ,
652
- "hookImplementationsMap[class]: invalid value" );
653
+ "hookImplementationsMap[class]: invalid key or value" );
653
654
return false;
654
655
}
655
656
@@ -658,7 +659,7 @@ static bool nr_drupal_hook_attribute_instrument(zval* module_handler) {
658
659
if ((NULL == method_key )
659
660
|| (0 == nr_php_is_zval_valid_string (module_val ))) {
660
661
nrl_warning (NRL_FRAMEWORK ,
661
- "hookImplementationsMap[method]: invalid value" );
662
+ "hookImplementationsMap[method]: invalid key or value" );
662
663
return false;
663
664
}
664
665
You can’t perform that action at this time.
0 commit comments