From e3f32755a8a841fafd31cc6fee52a08724cd868c Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Mon, 22 Jun 2020 09:46:01 +0100 Subject: [PATCH] Issue #3150471 by durgeshs, joachim: incorrect constant in docs for DoTrustedCallbackTrait::doTrustedCallback() --- core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php b/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php index d3d86b977ba5..4548a0a52be8 100644 --- a/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php +++ b/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php @@ -32,7 +32,7 @@ trait DoTrustedCallbackTrait { * @param string $error_type * (optional) The type of error to trigger. One of: * - TrustedCallbackInterface::THROW_EXCEPTION - * - TrustedCallbackInterface::TRIGGER_DEPRECATION + * - TrustedCallbackInterface::TRIGGER_WARNING * - TrustedCallbackInterface::TRIGGER_SILENCED_DEPRECATION * Defaults to TrustedCallbackInterface::THROW_EXCEPTION. * @param string $extra_trusted_interface