From b90bd5883c00c9f9fb87398c386f0aafccabe5fa Mon Sep 17 00:00:00 2001 From: Lee Rowlands Date: Wed, 11 Sep 2019 19:38:51 +1000 Subject: [PATCH] Issue #3078839 by justas.raudonius: Incorrect return type declaration for function drupal_static --- core/includes/bootstrap.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index f65c3d1f0676..3f2232b55f94 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -942,7 +942,7 @@ function drupal_classloader_register($name, $path) { * internally and should not be passed in; use drupal_static_reset() instead. * (This function's return value should not be used when TRUE is passed in.) * - * @return array + * @return mixed * Returns a variable by reference. * * @see drupal_static_reset()