@@ -223,8 +223,8 @@ discard block |
||
| 223 | 223 | foreach ($this->request->searchableColumnIndex() as $index) { |
| 224 | 224 | $column = $this->getColumnName($index); |
| 225 | 225 | $value = Arr::get($data, $column); |
| 226 | - if (! $value || is_array($value)) { |
|
| 227 | - if (! is_numeric($value)) { |
|
| 226 | + if (!$value || is_array($value)) { |
|
| 227 | + if (!is_numeric($value)) { |
|
| 228 | 228 | continue; |
| 229 | 229 | } |
| 230 | 230 | |
@@ -247,7 +247,7 @@ discard block |
||
| 247 | 247 | protected function defaultOrdering() |
| 248 | 248 | { |
| 249 | 249 | $criteria = $this->request->orderableColumns(); |
| 250 | - if (! empty($criteria)) { |
|
| 250 | + if (!empty($criteria)) { |
|
| 251 | 251 | $sorter = $this->getSorter($criteria); |
| 252 | 252 | |
| 253 | 253 | $this->collection = $this->collection |
@@ -122,8 +122,8 @@ discard block |
||
| 122 | 122 | */ |
| 123 | 123 | protected function isNotEagerLoaded($relation) |
| 124 | 124 | { |
| 125 | - return ! $relation |
|
| 126 | - || ! array_key_exists($relation, $this->query->getEagerLoads()) |
|
| 125 | + return !$relation |
|
| 126 | + || !array_key_exists($relation, $this->query->getEagerLoads()) |
|
| 127 | 127 | || $relation === $this->query->getModel()->getTable(); |
| 128 | 128 | } |
| 129 | 129 | |
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | $joins[] = $join->table; |
| 210 | 210 | } |
| 211 | 211 | |
| 212 | - if (! in_array($table, $joins)) { |
|
| 212 | + if (!in_array($table, $joins)) { |
|
| 213 | 213 | $this->getBaseQueryBuilder()->join($table, $foreign, '=', $other, $type); |
| 214 | 214 | } |
| 215 | 215 | |