diff --git a/cli/Valet/PhpFpm.php b/cli/Valet/PhpFpm.php index ef2aaa6..4818c3f 100644 --- a/cli/Valet/PhpFpm.php +++ b/cli/Valet/PhpFpm.php @@ -8,9 +8,9 @@ class PhpFpm { - public $brew, $cli, $files; + var $brew, $cli, $files; - public $taps = [ + var $taps = [ 'homebrew/dupes', 'homebrew/versions', 'homebrew/homebrew-php' ]; @@ -22,7 +22,7 @@ class PhpFpm * @param Filesystem $files * @return void */ - public function __construct(Brew $brew, CommandLine $cli, Filesystem $files) + function __construct(Brew $brew, CommandLine $cli, Filesystem $files) { $this->cli = $cli; $this->brew = $brew; @@ -34,7 +34,7 @@ public function __construct(Brew $brew, CommandLine $cli, Filesystem $files) * * @return void */ - public function install() + function install() { if (! $this->brew->installed('php71') && ! $this->brew->installed('php70') && @@ -56,7 +56,7 @@ public function install() * * @return void */ - public function updateConfiguration() + function updateConfiguration() { $contents = $this->files->get($this->fpmConfigPath()); @@ -72,7 +72,7 @@ public function updateConfiguration() * * @return void */ - public function restart() + function restart() { $this->stop(); @@ -84,7 +84,7 @@ public function restart() * * @return void */ - public function stop() + function stop() { $this->brew->stopService('php55', 'php56', 'php70', 'php71'); } @@ -94,7 +94,7 @@ public function stop() * * @return string */ - public function fpmConfigPath() + function fpmConfigPath() { if ($this->brew->linkedPhp() === 'php71') { return '/usr/local/etc/php/7.1/php-fpm.d/www.conf';