Skip to content

Commit

Permalink
Merge branch 'master' of github.com:spatie/laravel-ray
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jan 22, 2021
2 parents e3b1987 + 90ffaa7 commit cf0264a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion src/JobLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Spatie\LaravelRay;

use Spatie\LaravelRay\Payloads\EventPayload;
use Spatie\LaravelRay\Payloads\JobEventPayload;

class JobLogger
Expand Down
2 changes: 1 addition & 1 deletion src/Payloads/JobEventPayload.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function getType(): string

public function getContent(): array
{
return [
return [
'event_name' => class_basename($this->event),
'job' => $this->job ? ArgumentConverter::convertToPrimitive($this->job) : null,
'exception' => $this->exception ? ArgumentConverter::convertToPrimitive($this->exception) : null,
Expand Down
3 changes: 0 additions & 3 deletions src/RayServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use Illuminate\Database\Eloquent\Model;
use Illuminate\Log\Events\MessageLogged;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\Events\JobExceptionOccurred;
use Illuminate\Queue\Events\JobFailed;
use Illuminate\Queue\Events\JobProcessed;
use Illuminate\Queue\Events\JobProcessing;
Expand All @@ -17,12 +16,10 @@
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Str;
use Illuminate\Testing\TestResponse;
use Spatie\Backtrace\Backtrace;
use Spatie\LaravelRay\Commands\PublishConfigCommand;
use Spatie\LaravelRay\DumpRecorder\DumpRecorder;
use Spatie\LaravelRay\Payloads\MailablePayload;
use Spatie\LaravelRay\Payloads\ModelPayload;
use Spatie\Multitenancy\Models\Tenant;
use Spatie\Ray\Client;
use Spatie\Ray\PayloadFactory;
use Spatie\Ray\Payloads\ApplicationLogPayload;
Expand Down
1 change: 0 additions & 1 deletion tests/TestClasses/TestJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ class TestJob implements ShouldQueue
{
public function handle()
{

}
}

0 comments on commit cf0264a

Please sign in to comment.