Skip to content

Commit

Permalink
Dev: Correct type of Field->options()
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanJard committed Dec 17, 2024
1 parent 4023786 commit f10428c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Editor/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,16 +286,16 @@ public function name($_ = null)
* data, including pairs that require joins and where conditions, use a
* closure to provide a query
*
* @param string|callable(Database): (false|array) $table Database table name to use to get the
* paired data from, or a closure function if providing a method
* @param string $value Table column name that contains the pair's
* value. Not used if the first parameter is given as a closure
* @param string $label Table column name that contains the pair's
* label. Not used if the first parameter is given as a closure
* @param \Closure(Query): void $condition Function that will add `where`
* conditions to the query
* @param callable(array): string $format Function will render each label
* @param string $order SQL ordering
* @param Options|string|callable(Database, string): (false|array) $table Database table name to use to get the
* paired data from, or a closure function if providing a method
* @param string $value Table column name that contains the pair's
* value. Not used if the first parameter is given as a closure
* @param string $label Table column name that contains the pair's
* label. Not used if the first parameter is given as a closure
* @param \Closure(Query): void $condition Function that will add `where`
* conditions to the query
* @param callable(array): string $format Function will render each label
* @param string $order SQL ordering
*
* @return ($table is null ? Options|null : $this)
*/
Expand Down

0 comments on commit f10428c

Please sign in to comment.