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;