9.1.0
9.1.0 (13 Mar 2022)
Added
- Type hints and return types;
$mutexStrategy and/or $mutexTimeout fields, your IDE might ask you to add proper types (string and/or ?int):
class ExampleCommand extends Command
{
use WithoutOverlapping;
protected string $mutexStrategy = 'mysql';
protected ?int $mutexTimeout = 3000;
// ...
}The null should be set explicitly, if used:
class ExampleCommand extends Command
{
use WithoutOverlapping;
protected ?int $mutexTimeout = null;
// ...
}