@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | */ |
| 141 | 141 | public static function getOrMethod($method) |
| 142 | 142 | { |
| 143 | - if (! Str::contains(Str::lower($method), 'or')) { |
|
| 143 | + if (!Str::contains(Str::lower($method), 'or')) { |
|
| 144 | 144 | return 'or' . ucfirst($method); |
| 145 | 145 | } |
| 146 | 146 | |
@@ -256,7 +256,7 @@ discard block |
||
| 256 | 256 | { |
| 257 | 257 | $matches = explode(' as ', Str::lower($str)); |
| 258 | 258 | |
| 259 | - if (! empty($matches)) { |
|
| 259 | + if (!empty($matches)) { |
|
| 260 | 260 | if ($wantsAlias) { |
| 261 | 261 | return array_pop($matches); |
| 262 | 262 | } |
@@ -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 |