Skip to content

Commit

Permalink
Add parameter type
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Jun 27, 2024
1 parent 2e04d0f commit 825a647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Trait/CustomTableNameTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 825a647

Please sign in to comment.