From 825a647bbac7e61cd2df42dc947465082af35dbb Mon Sep 17 00:00:00 2001
From: Tigrov <rrr-r@ya.ru>
Date: Thu, 27 Jun 2024 14:14:07 +0700
Subject: [PATCH] Add parameter type

---
 src/Trait/CustomTableNameTrait.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Trait/CustomTableNameTrait.php b/src/Trait/CustomTableNameTrait.php
index 6db732875..3a752a171 100644
--- a/src/Trait/CustomTableNameTrait.php
+++ b/src/Trait/CustomTableNameTrait.php
@@ -16,7 +16,7 @@ trait CustomTableNameTrait
     /**
      * Sets the table name for the ActiveRecord.
      */
-    public function withTableName($tableName): static
+    public function withTableName(string $tableName): static
     {
         $new = clone $this;
         $new->tableName = $tableName;