diff --git a/app/Jobs/ImportHubData.php b/app/Jobs/ImportHubData.php index 35f7e97..62b1929 100644 --- a/app/Jobs/ImportHubData.php +++ b/app/Jobs/ImportHubData.php @@ -582,7 +582,7 @@ class ImportHubData implements ShouldBeUnique, ShouldQueue { // Alright, hear me out... Shut up. - $converter = new HtmlConverter(); + $converter = new HtmlConverter; $clean = Purify::clean($dirty); return $converter->convert($clean); diff --git a/app/Models/Scopes/PublishedScope.php b/app/Models/Scopes/PublishedScope.php index cedb948..a4576ed 100644 --- a/app/Models/Scopes/PublishedScope.php +++ b/app/Models/Scopes/PublishedScope.php @@ -5,7 +5,6 @@ namespace App\Models\Scopes; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Scope; -use Illuminate\Support\Facades\Log; class PublishedScope implements Scope { @@ -15,6 +14,6 @@ class PublishedScope implements Scope public function apply(Builder $builder, Model $model): void { $builder->whereNotNull($model->getTable().'.published_at') - ->where($model->getTable().'.published_at', "<=", now()); + ->where($model->getTable().'.published_at', '<=', now()); } }