@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | $engine = $this->getSelectedEngine(); |
| 34 | 34 | $index = $this->getSelectedIndex(); |
| 35 | 35 | |
| 36 | - if (! $engine || ! $index) { |
|
| 36 | + if (!$engine || !$index) { |
|
| 37 | 37 | $this->error('You must specify both an engine (--manticore or --elastic) and an index (--releases or --predb).'); |
| 38 | 38 | |
| 39 | 39 | return Command::FAILURE; |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | // Check if index exists |
| 66 | 66 | $exists = \Elasticsearch::indices()->exists(['index' => $index]); |
| 67 | 67 | |
| 68 | - if (! $exists) { |
|
| 68 | + if (!$exists) { |
|
| 69 | 69 | $this->error("ElasticSearch index '{$index}' does not exist."); |
| 70 | 70 | |
| 71 | 71 | return; |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | $this->info("\nTable structure:"); |
| 215 | 215 | $this->table( |
| 216 | 216 | ['Field', 'Type', 'Properties'], |
| 217 | - array_map(function ($row) { |
|
| 217 | + array_map(function($row) { |
|
| 218 | 218 | return [ |
| 219 | 219 | $row['Field'] ?? $row[0] ?? '', |
| 220 | 220 | $row['Type'] ?? $row[1] ?? '', |