update fix deadcode, security

This commit is contained in:
baodev0
2026-09-28 08:26:29 +07:00
parent 3af59bd9c5
commit 82080b5b84
452 changed files with 4857 additions and 26289 deletions
@@ -139,13 +139,6 @@ class OrderRepository extends BaseRepository implements OrderRepositoryInterface
return $model->find($id);
}
public function updateBy(string $key = '', string|int $value = '', array $data = [])
{
if (empty($key) || empty($value)) {
return false;
}
return $this->model->where($key, $value)->update($data);
}
public function findByOrderNum(string $orderNum)
{