<?php

namespace App\Policies;

use App\Models\ProductReview;
use App\Models\User;

class ProductReviewPolicy
{
    public function delete(User $user, ProductReview $review): bool
    {
        return $user->id === $review->user_id || $user->isAdmin();
    }
}
