Skip to content

Commit

Permalink
Update key method disclaimer
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkla committed Sep 19, 2023
1 parent 061b4fb commit 9ef1ce6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Fields/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ public function dd(...$args): never
}

/**
* In most cases, there is no need to set a custom key. It is recommended to
* let the package generate the key for you. Please use this method carefully.
* It is recommended to let the package generate the key for you and in most
* cases, there is no need to set a custom key, so try to avoid it. Please
* use this method with caution.
* @throws \InvalidArgumentException
*/
public function key(string $key): static
Expand Down

0 comments on commit 9ef1ce6

Please sign in to comment.