for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Http\Controllers\Personanci;
use App\Models\PersonAnci;
use Illuminate\Routing\Controller;
class Destroy extends Controller
{
public function __invoke(PersonAnci $personAnci)
$personAnci->delete();
return [
'message' => __('The person anci was successfully deleted'),
'redirect' => 'personanci.index',
];
}