run pint?

This commit is contained in:
IsWaffle 2024-07-31 15:14:22 -04:00
parent 5fe0541593
commit 203626d043
2 changed files with 2 additions and 3 deletions

View File

@ -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);

View File

@ -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());
}
}