Commit 53593817 authored by Dillenn Terumalai's avatar Dillenn Terumalai
Browse files

fix: Fixed some typing issues

parent 8445d0ad
Pipeline #2348 passed with stage
in 9 seconds
......@@ -2,7 +2,6 @@
namespace Dterumal\LaravelCluster\Listeners;
use Dterumal\LaravelCluster\Contracts\JobRepository;
use Dterumal\LaravelCluster\Events\JobCancelled;
class ExecuteJobCancelCallback
......
......@@ -2,18 +2,17 @@
namespace Dterumal\LaravelCluster\Listeners;
use Dterumal\LaravelCluster\Contracts\JobRepository;
use Dterumal\LaravelCluster\Events\JobCancelled;
use Dterumal\LaravelCluster\Events\JobFailed;
class ExecuteJobFailureCallback
{
/**
* Handle the event.
*
* @param \Dterumal\LaravelCluster\Events\JobCancelled $event
* @param \Dterumal\LaravelCluster\Events\JobFailed $event
* @return void
*/
public function handle(JobCancelled $event): void
public function handle(JobFailed $event): void
{
$jobClass = $event->job->job;
......
......@@ -2,18 +2,17 @@
namespace Dterumal\LaravelCluster\Listeners;
use Dterumal\LaravelCluster\Contracts\JobRepository;
use Dterumal\LaravelCluster\Events\JobCancelled;
use Dterumal\LaravelCluster\Events\JobCompleted;
class ExecuteJobSuccessCallback
{
/**
* Handle the event.
*
* @param \Dterumal\LaravelCluster\Events\JobCancelled $event
* @param \Dterumal\LaravelCluster\Events\JobCompleted $event
* @return void
*/
public function handle(JobCancelled $event): void
public function handle(JobCompleted $event): void
{
$jobClass = $event->job->job;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment