Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/Illuminate/Support/Str.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,42 +34,42 @@ class Str
/**
* The cache of snake-cased words.
*
* @var array
* @var array<string, string>
*/
protected static $snakeCache = [];

/**
* The cache of camel-cased words.
*
* @var array
* @var array<string, string>
*/
protected static $camelCache = [];

/**
* The cache of studly-cased words.
*
* @var array
* @var array<string, string>
*/
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;

Expand Down