From b2afbebde61b2f755e386b6797dba9083e9fa517 Mon Sep 17 00:00:00 2001 From: Alberto Peripolli Date: Mon, 6 May 2024 19:03:45 +0200 Subject: [PATCH] [11.x] Add int|float support to e method (#51314) * Prevent int * Update helpers.php * leaved only PHPdoc part --- helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.php b/helpers.php index d39bf434..fe76866d 100644 --- a/helpers.php +++ b/helpers.php @@ -110,7 +110,7 @@ function class_uses_recursive($class) /** * Encode HTML special characters in a string. * - * @param \Illuminate\Contracts\Support\DeferringDisplayableValue|\Illuminate\Contracts\Support\Htmlable|\BackedEnum|string|null $value + * @param \Illuminate\Contracts\Support\DeferringDisplayableValue|\Illuminate\Contracts\Support\Htmlable|\BackedEnum|string|int|float|null $value * @param bool $doubleEncode * @return string */