From a352c211989fc844ae8b871f5f19b8a0085f1972 Mon Sep 17 00:00:00 2001 From: James Collins Date: Mon, 8 May 2023 12:36:11 +1000 Subject: [PATCH] fix typing --- app/Rules/Uniqueish.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Rules/Uniqueish.php b/app/Rules/Uniqueish.php index bf04413..dd636e6 100644 --- a/app/Rules/Uniqueish.php +++ b/app/Rules/Uniqueish.php @@ -25,7 +25,7 @@ class Uniqueish implements Rule /** * The ID of the record to be ignored. * - * @var integer|null + * @var mixed */ protected $ignoreId; @@ -46,10 +46,10 @@ class Uniqueish implements Rule /** * Set the ID of the record to be ignored. * - * @param integer $id The ID to ignore. + * @param mixed $id The ID to ignore. * @return $this */ - public function ignore(int $id) + public function ignore(mixed $id) { $this->ignoreId = $id; return $this;