Skip to content

Commit add69b7

Browse files
committed
Code style
1 parent 776e41d commit add69b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/SearchesRelations.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ public static function searchableRelations(): array
3737
protected static function applySearch($query, $search)
3838
{
3939
return $query->where(function ($query) use ($search) {
40-
return static::applyRelationSearch(parent::applySearch($query, $search), $search);
40+
parent::applySearch($query, $search);
41+
static::applyRelationSearch($query, $search);
4142
});
4243
}
4344

0 commit comments

Comments
 (0)