Fix StyleCI
This commit is contained in:
@@ -79,7 +79,7 @@ final class CreateScheduleCommand
|
|||||||
'scheduled_at' => 'required|string',
|
'scheduled_at' => 'required|string',
|
||||||
'completed_at' => 'nullable|string',
|
'completed_at' => 'nullable|string',
|
||||||
'components' => 'nullable|array',
|
'components' => 'nullable|array',
|
||||||
'notify' => 'nullable|bool'
|
'notify' => 'nullable|bool',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -95,7 +95,7 @@ final class CreateScheduleCommand
|
|||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function __construct($name, $message, $status, $scheduled_at, $completed_at, array $components = [], $notify)
|
public function __construct($name, $message, $status, $scheduled_at, $completed_at, $components, $notify)
|
||||||
{
|
{
|
||||||
$this->name = $name;
|
$this->name = $name;
|
||||||
$this->message = $message;
|
$this->message = $message;
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ final class ScheduleWasCreatedEvent implements ActionInterface, ScheduleEventInt
|
|||||||
*/
|
*/
|
||||||
public $schedule;
|
public $schedule;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether to notify that the incident was reported.
|
* Whether to notify that the incident was reported.
|
||||||
*
|
*
|
||||||
* @var bool
|
* @var bool
|
||||||
@@ -52,7 +52,7 @@ final class ScheduleWasCreatedEvent implements ActionInterface, ScheduleEventInt
|
|||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function __construct(User $user, Schedule $schedule, $notify = false)
|
public function __construct(User $user, Schedule $schedule, $notify = false)
|
||||||
{
|
{
|
||||||
$this->user = $user;
|
$this->user = $user;
|
||||||
$this->schedule = $schedule;
|
$this->schedule = $schedule;
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ class ScheduleController extends Controller
|
|||||||
*/
|
*/
|
||||||
protected $system;
|
protected $system;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new schedule controller instance.
|
* Creates a new schedule controller instance.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user