Skip to content

Commit 2744e6d

Browse files
authored
Merge pull request #4574 from Diegslapasteque/fix/addfilter-phpdoc
Update PHPDoc of addFilter and addFilterToCollection
2 parents 003d015 + ee58285 commit 2744e6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/Library/CrudPanel/Traits/Filters.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function clearFilters()
4545
* Add a filter to the CRUD table view.
4646
*
4747
* @param array $options Name, type, label, etc.
48-
* @param bool|array|\Closure $values The HTML for the filter.
48+
* @param bool|string|array|\Closure $values The HTML for the filter.
4949
* @param bool|\Closure $filterLogic Query modification (filtering) logic when filter is active.
5050
* @param bool|\Closure $fallbackLogic Query modification (filtering) logic when filter is not active.
5151
*/
@@ -62,7 +62,7 @@ public function addFilter($options, $values = false, $filterLogic = false, $fall
6262
* The filter will NOT get applied.
6363
*
6464
* @param array $options Name, type, label, etc.
65-
* @param bool|array|\Closure $values The HTML for the filter.
65+
* @param bool|string|array|\Closure $values The HTML for the filter.
6666
* @param bool|\Closure $filterLogic Query modification (filtering) logic when filter is active.
6767
* @param bool|\Closure $fallbackLogic Query modification (filtering) logic when filter is not active.
6868
*/

0 commit comments

Comments
 (0)