mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-13 04:30:41 -05:00
run pint?
This commit is contained in:
parent
5fe0541593
commit
203626d043
@ -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);
|
||||
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user