Skip to content

Commit 598945b

Browse files
authored
Merge pull request yajra#2036 from yajra/analysis-XZAB4D
Apply fixes from StyleCI
2 parents 261c2da + 2d90c00 commit 598945b

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

src/Utilities/Request.php

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -154,20 +154,19 @@ public function searchableColumnIndex()
154154
public function isColumnSearchable($i, $column_search = true)
155155
{
156156
if ($column_search) {
157-
return
157+
return
158158
(
159-
$this->request->input("columns.$i.searchable", 'true') === 'true'
160-
||
161-
$this->request->input("columns.$i.searchable", 'true') === true
162-
)
159+
$this->request->input("columns.$i.searchable", 'true') === 'true'
160+
||
161+
$this->request->input("columns.$i.searchable", 'true') === true
162+
)
163163
&& $this->columnKeyword($i) != '';
164164
}
165165

166-
return (
167-
$this->request->input("columns.$i.searchable", 'true') === 'true'
168-
||
169-
$this->request->input("columns.$i.searchable", 'true') === true
170-
);
166+
return
167+
$this->request->input("columns.$i.searchable", 'true') === 'true'
168+
||
169+
$this->request->input("columns.$i.searchable", 'true') === true;
171170
}
172171

173172
/**

0 commit comments

Comments
 (0)