From 21a37fa1652e3fa5821aa433398b3deeb5161873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20H=C3=A4drich?= <11225821+shaedrich@users.noreply.github.com> Date: Wed, 17 Sep 2025 19:09:03 +0200 Subject: [PATCH] Add type hints to \Illuminate\Support\Str --- src/Illuminate/Support/Str.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Illuminate/Support/Str.php b/src/Illuminate/Support/Str.php index 6fd6b7f79416..85995dba3714 100644 --- a/src/Illuminate/Support/Str.php +++ b/src/Illuminate/Support/Str.php @@ -34,42 +34,42 @@ class Str /** * The cache of snake-cased words. * - * @var array + * @var array */ protected static $snakeCache = []; /** * The cache of camel-cased words. * - * @var array + * @var array */ protected static $camelCache = []; /** * The cache of studly-cased words. * - * @var array + * @var array */ protected static $studlyCache = []; /** * The callback that should be used to generate UUIDs. * - * @var callable|null + * @var (callable(): \Ramsey\Uuid\UuidInterface)|null */ protected static $uuidFactory; /** * The callback that should be used to generate ULIDs. * - * @var callable|null + * @var (callable(): \Symfony\Component\Uid\Ulid)|null */ protected static $ulidFactory; /** * The callback that should be used to generate random strings. * - * @var callable|null + * @var (callable(int): string)|null */ protected static $randomStringFactory;