File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -107,15 +107,15 @@ public static function raw($raw)
107107 /**
108108 * Make a callback function.
109109 *
110- * @param $columns string The (comma separated) columns that should be retrieved from the database.
111- * Is being translated directly into the `.sql`.
112- * @param $callback Closure A callback that defines how the retrieved columns are processed.
113- * @param $params Array Optional additional parameters that are passed to the given Closure.
114- * @param $callbackName string Optional string that defines the 'name' of the column.
115- * Leave empty to let livewire autogenerate a distinct value.
110+ * @param $columns Array| string The (comma separated) columns that should be retrieved from the database.
111+ * Is being translated directly into the `.sql`.
112+ * @param $callback Closure A callback that defines how the retrieved columns are processed.
113+ * @param $params Array Optional additional parameters that are passed to the given Closure.
114+ * @param $callbackName string Optional string that defines the 'name' of the column.
115+ * Leave empty to let livewire autogenerate a distinct value.
116116 */
117117 public static function callback (
118- string $ columns ,
118+ array | string $ columns ,
119119 Closure $ callback ,
120120 array $ params = [],
121121 ?string $ callbackName = null
You can’t perform that action at this time.
0 commit comments