Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
hapidjus committed Oct 23, 2024
1 parent 3a9cb59 commit 69e2107
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Watchers/JobWatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,17 @@
namespace Laravel\Telescope\Watchers;

use Illuminate\Bus\BatchRepository;
use Illuminate\Contracts\Encryption\Encrypter;
use Illuminate\Queue\Events\JobFailed;
use Illuminate\Queue\Events\JobProcessed;
use Illuminate\Queue\Queue;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use Laravel\Telescope\EntryType;
use Laravel\Telescope\EntryUpdate;
use Laravel\Telescope\ExceptionContext;
use Laravel\Telescope\ExtractProperties;
use Laravel\Telescope\ExtractTags;
use Laravel\Telescope\IncomingEntry;
use Laravel\Telescope\Telescope;
use RuntimeException;

class JobWatcher extends Watcher
{
Expand Down Expand Up @@ -231,7 +228,7 @@ protected function updateBatch($payload)

private function getBatchId(array $data)
{
if(preg_match('/"batchId";s:\d+:"([^"]+)"/', $data['command'], $matches)){
if (preg_match('/"batchId";s:\d+:"([^"]+)"/', $data['command'], $matches)){
return $matches[1];
}
return null;
Expand Down

0 comments on commit 69e2107

Please sign in to comment.