Skip to content

9.1.0

Compare
Choose a tag to compare
@dmitry-ivanov dmitry-ivanov released this 13 Mar 17:21
· 9 commits to 9.x since this release

9.1.0 (13 Mar 2022)

Added

  • Type hints and return types;

⚠️ If you're using $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;

    // ...
}