Skip to content

Commit d2c954d

Browse files
authored
Merge pull request #5345 from susanu/patch-2
2 parents dd78c0a + 51d9075 commit d2c954d

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
@@ -323,11 +323,11 @@ public function firstFilterWhere($attribute, $value)
323323
* - CRUD::addFilter(['name' => 'price', 'type' => 'range'], false, function($value) {});
324324
* - CRUD::filter('price')->type('range')->whenActive(function($value) {});
325325
*
326-
* And if the developer uses the CrudField object as Field in their CrudController:
326+
* And if the developer uses the CrudFilter object as Filter in their CrudController:
327327
* - Filter::name('price')->type('range')->whenActive(function($value) {});
328328
*
329329
* @param string $name The name of the column in the db, or model attribute.
330-
* @return CrudField
330+
* @return CrudFilter
331331
*/
332332
public function filter($name)
333333
{

0 commit comments

Comments
 (0)