Fix Laravel Pint formatting

This commit is contained in:
root
2026-06-08 23:30:22 -04:00
parent 567dc24649
commit c792b8be05
1288 changed files with 10766 additions and 9669 deletions
+2 -4
View File
@@ -2,8 +2,6 @@
namespace App\Models;
use App\Models\BaseModel;
class EmailTemplate extends BaseModel
{
protected $table = 'email_templates';
@@ -31,9 +29,9 @@ class EmailTemplate extends BaseModel
->where('is_active', 1)
->where(function ($q) use ($variant) {
$q->where('variant', $variant)
->orWhere('variant', 'default');
->orWhere('variant', 'default');
})
->orderByRaw("CASE WHEN variant = ? THEN 0 ELSE 1 END", [$variant])
->orderByRaw('CASE WHEN variant = ? THEN 0 ELSE 1 END', [$variant])
->first();
return $row;