Skip to content

Commit 87aa3d7

Browse files
committed
cs fix
1 parent 8263394 commit 87aa3d7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/Jobs/UpdateSite.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use App\Models\Site;
99
use App\RemoteSite\Connection;
1010
use App\RemoteSite\Responses\PrepareUpdate;
11-
use App\Services\FinalizeErrorAssessor;
1211
use GuzzleHttp\Exception\RequestException;
1312
use Illuminate\Contracts\Queue\ShouldBeUnique;
1413
use Illuminate\Contracts\Queue\ShouldQueue;

app/RemoteSite/Responses/FinalizeUpdate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function hasIgnorableError(): bool
1818
return false;
1919
}
2020

21-
$errorString = json_encode($this->errors);
21+
$errorString = (string) json_encode($this->errors);
2222

2323
if (str_contains($errorString, 'Undefined constant') && str_contains($errorString, 'T4PATH_MEDIA')) {
2424
return true;

0 commit comments

Comments
 (0)