Skip to content

Commit

Permalink
Make release optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
will2877 committed May 9, 2023
1 parent 1c30d26 commit 5ed136f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Cron/CronJobFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ class CronJobFactory implements CronJobFactoryInterface
*/
private $environment;
/**
* @var string
* @var string|null
*/
private $release;

/**
* @param string $environment the configured environment
*/
public function __construct(string $environment, string $release)
public function __construct(string $environment, ?string $release = null)
{
$this->environment = $environment;
$this->release = $release;
Expand Down

0 comments on commit 5ed136f

Please sign in to comment.