forked from eatvio/eatvio-infra
make static-analyse code
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user