Skip to content
Merged
Show file tree
Hide file tree
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
15 changes: 4 additions & 11 deletions src/Jobs/MonitorTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,15 @@

class MonitorTag
{
/**
* The tag to monitor.
*
* @var string
*/
public $tag;

/**
* Create a new job instance.
*
* @param string $tag
* @param string $tag The tag to monitor.
* @return void
*/
public function __construct($tag)
{
$this->tag = $tag;
public function __construct(
public $tag,
) {
}

/**
Expand Down
15 changes: 4 additions & 11 deletions src/Jobs/RetryFailedJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,15 @@

class RetryFailedJob
{
/**
* The job ID.
*
* @var string
*/
public $id;

/**
* Create a new job instance.
*
* @param string $id
* @param string $id The job ID.
* @return void
*/
public function __construct($id)
{
$this->id = $id;
public function __construct(
public $id,
) {
}

/**
Expand Down
15 changes: 4 additions & 11 deletions src/Jobs/StopMonitoringTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,15 @@

class StopMonitoringTag
{
/**
* The tag to stop monitoring.
*
* @var string
*/
public $tag;

/**
* Create a new job instance.
*
* @param string $tag
* @param string $tag The tag to stop monitoring.
* @return void
*/
public function __construct($tag)
{
$this->tag = $tag;
public function __construct(
public $tag,
) {
}

/**
Expand Down