make static-analyse code

This commit is contained in:
2024-01-15 01:05:10 +03:00
parent 57244b63be
commit bc2c8df9af
35 changed files with 221 additions and 182 deletions

View File

@@ -4,6 +4,7 @@ namespace App\Console\Commands;
use App\Models\Recipe;
use Illuminate\Console\Command;
use Illuminate\Support\Str;
class UpdateSlugs extends Command
{
@@ -24,7 +25,7 @@ class UpdateSlugs extends Command
/**
* Execute the console command.
*/
public function handle()
public function handle(): void
{
Recipe::where('slug', '')
->get()