mirror of
https://github.com/laravel/valet.git
synced 2026-02-07 01:00:09 +01:00
Fix code styling
This commit is contained in:
committed by
github-actions[bot]
parent
55078675f4
commit
03bb9cc131
@@ -78,7 +78,7 @@ public function ensureUsingDnsmasqDForConfigs(): void
|
||||
// set primary config to look for configs in /usr/local/etc/dnsmasq.d/*.conf
|
||||
$contents = $this->files->get($this->dnsmasqMasterConfigFile);
|
||||
// ensure the line we need to use is present, and uncomment it if needed
|
||||
if (false === strpos($contents, 'conf-dir='.BREW_PREFIX.'/etc/dnsmasq.d/,*.conf')) {
|
||||
if (strpos($contents, 'conf-dir='.BREW_PREFIX.'/etc/dnsmasq.d/,*.conf') === false) {
|
||||
$contents .= PHP_EOL.'conf-dir='.BREW_PREFIX.'/etc/dnsmasq.d/,*.conf'.PHP_EOL;
|
||||
}
|
||||
$contents = str_replace('#conf-dir='.BREW_PREFIX.'/etc/dnsmasq.d/,*.conf', 'conf-dir='.BREW_PREFIX.'/etc/dnsmasq.d/,*.conf', $contents);
|
||||
|
||||
Reference in New Issue
Block a user