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;