Skip to content

Commit f10428c

Browse files
committed
Dev: Correct type of Field->options()
1 parent 4023786 commit f10428c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Editor/Field.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -286,16 +286,16 @@ public function name($_ = null)
286286
* data, including pairs that require joins and where conditions, use a
287287
* closure to provide a query
288288
*
289-
* @param string|callable(Database): (false|array) $table Database table name to use to get the
290-
* paired data from, or a closure function if providing a method
291-
* @param string $value Table column name that contains the pair's
292-
* value. Not used if the first parameter is given as a closure
293-
* @param string $label Table column name that contains the pair's
294-
* label. Not used if the first parameter is given as a closure
295-
* @param \Closure(Query): void $condition Function that will add `where`
296-
* conditions to the query
297-
* @param callable(array): string $format Function will render each label
298-
* @param string $order SQL ordering
289+
* @param Options|string|callable(Database, string): (false|array) $table Database table name to use to get the
290+
* paired data from, or a closure function if providing a method
291+
* @param string $value Table column name that contains the pair's
292+
* value. Not used if the first parameter is given as a closure
293+
* @param string $label Table column name that contains the pair's
294+
* label. Not used if the first parameter is given as a closure
295+
* @param \Closure(Query): void $condition Function that will add `where`
296+
* conditions to the query
297+
* @param callable(array): string $format Function will render each label
298+
* @param string $order SQL ordering
299299
*
300300
* @return ($table is null ? Options|null : $this)
301301
*/

0 commit comments

Comments
 (0)