@@ -27,14 +27,14 @@ |
||
| 27 | 27 | $driverTargetPath = $this->getDriverTargetPath(); |
| 28 | 28 | $driverSourcePath = Hyde::vendorPath('resources/stubs/HydeValetDriver.php', 'realtime-compiler'); |
| 29 | 29 | |
| 30 | - if (! is_dir(dirname($driverTargetPath))) { |
|
| 30 | + if (!is_dir(dirname($driverTargetPath))) { |
|
| 31 | 31 | $this->error('Herd Valet drivers directory not found. Is Herd installed?'); |
| 32 | 32 | |
| 33 | 33 | return Command::FAILURE; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - if (file_exists($driverTargetPath) && ! $this->option('force')) { |
|
| 37 | - if (! $this->confirm('The HydePHP Valet driver for Herd already exists. Do you want to overwrite it?', true)) { |
|
| 36 | + if (file_exists($driverTargetPath) && !$this->option('force')) { |
|
| 37 | + if (!$this->confirm('The HydePHP Valet driver for Herd already exists. Do you want to overwrite it?', true)) { |
|
| 38 | 38 | $this->info('Installation cancelled.'); |
| 39 | 39 | |
| 40 | 40 | return Command::SUCCESS; |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | 'Source Root' => $hydeConfig['source_root'] ?: '(Project Root)', |
| 78 | 78 | ], |
| 79 | 79 | 'Features' => [ |
| 80 | - 'Enabled Features' => implode(', ', array_map(function ($feature) { |
|
| 80 | + 'Enabled Features' => implode(', ', array_map(function($feature) { |
|
| 81 | 81 | return $feature->name; |
| 82 | 82 | }, $hydeConfig['features'] ?? [])), |
| 83 | 83 | ], |