fixed some phpcs warnings
This commit is contained in:
parent
00bacab688
commit
d89ad43426
2 changed files with 8 additions and 2 deletions
|
|
@ -40,8 +40,13 @@ class TicketStatusChanged
|
|||
* @param boolean $is_private
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(Ticket $ticket, TicketStatus $status, User $user = null, string $message = null, bool $is_private = false)
|
||||
{
|
||||
public function __construct(
|
||||
Ticket $ticket,
|
||||
TicketStatus $status,
|
||||
User $user = null,
|
||||
string $message = null,
|
||||
bool $is_private = false
|
||||
) {
|
||||
$this->ticket = $ticket;
|
||||
$this->status = $status;
|
||||
$this->user = $user;
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ class AddStatusMessages
|
|||
*
|
||||
* @param \App\Events\TicketStatusChanged $event
|
||||
* @return void
|
||||
* @phpcs:disable Generic.Metrics.CyclomaticComplexity
|
||||
*/
|
||||
public function handle(TicketStatusChanged $event)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue