Skip to content

Commit

Permalink
Fix code styling
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints authored and github-actions[bot] committed Feb 14, 2023
1 parent 83de300 commit 044bdc1
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 45 deletions.
8 changes: 0 additions & 8 deletions cli/Valet/Brew.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ class Brew
/**
* Create a new Brew instance.
*
* @param CommandLine $cli
* @param Filesystem $files
* @return void
*/
public function __construct(CommandLine $cli, Filesystem $files)
Expand Down Expand Up @@ -190,8 +188,6 @@ public function tap($formulas)

/**
* Restart the given Homebrew services.
*
* @param
*/
public function restartService($services)
{
Expand All @@ -213,8 +209,6 @@ public function restartService($services)

/**
* Stop the given Homebrew services.
*
* @param
*/
public function stopService($services)
{
Expand Down Expand Up @@ -379,7 +373,6 @@ public function removeSudoersEntry()
/**
* Link passed formula.
*
* @param $formula
* @param bool $force
* @return string
*/
Expand All @@ -398,7 +391,6 @@ function ($exitCode, $errorOutput) use ($formula) {
/**
* Unlink passed formula.
*
* @param $formula
* @return string
*/
public function unlink($formula)
Expand Down
2 changes: 0 additions & 2 deletions cli/Valet/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ class Configuration

/**
* Create a new Valet configuration class instance.
*
* @param Filesystem $files
*/
public function __construct(Filesystem $files)
{
Expand Down
2 changes: 0 additions & 2 deletions cli/Valet/Diagnose.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ class Diagnose
/**
* Create a new Diagnose instance.
*
* @param CommandLine $cli
* @param Filesystem $files
* @return void
*/
public function __construct(CommandLine $cli, Filesystem $files)
Expand Down
5 changes: 0 additions & 5 deletions cli/Valet/Nginx.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ class Nginx
/**
* Create a new Nginx instance.
*
* @param Brew $brew
* @param CommandLine $cli
* @param Filesystem $files
* @param Configuration $configuration
* @param Site $site
* @return void
*/
public function __construct(Brew $brew, CommandLine $cli, Filesystem $files,
Expand Down
6 changes: 0 additions & 6 deletions cli/Valet/PhpFpm.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ class PhpFpm
/**
* Create a new PHP FPM class instance.
*
* @param Brew $brew
* @param CommandLine $cli
* @param Filesystem $files
* @param Configuration $config
* @param Site $site
* @param Nginx $nginx
* @return void
*/
public function __construct(Brew $brew, CommandLine $cli, Filesystem $files, Configuration $config, Site $site, Nginx $nginx)
Expand Down
9 changes: 0 additions & 9 deletions cli/Valet/Site.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ class Site

/**
* Create a new Site instance.
*
* @param Brew $brew
* @param Configuration $config
* @param CommandLine $cli
* @param Filesystem $files
*/
public function __construct(Brew $brew, Configuration $config, CommandLine $cli, Filesystem $files)
{
Expand Down Expand Up @@ -301,8 +296,6 @@ public function getLinks($path, $certs)
* Get list of sites and return them formatted
* Will work for symlink and normal site paths.
*
* @param $path
* @param $certs
* @return \Illuminate\Support\Collection
*/
public function getSites($path, $certs)
Expand Down Expand Up @@ -391,8 +384,6 @@ public function getPhpVersion($url)
* And those must be submitted in pairs else unexpected results may occur.
* eg: both $old and $new should contain the same indexes.
*
* @param array $old
* @param array $new
* @return void
*/
public function resecureForNewConfiguration(array $old, array $new)
Expand Down
3 changes: 0 additions & 3 deletions cli/Valet/Valet.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ class Valet

/**
* Create a new Valet instance.
*
* @param CommandLine $cli
* @param Filesystem $files
*/
public function __construct(CommandLine $cli, Filesystem $files)
{
Expand Down
3 changes: 0 additions & 3 deletions cli/includes/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ function warning($output)
/**
* Output a table to the console.
*
* @param array $headers
* @param array $rows
* @return void
*/
function table(array $headers = [], array $rows = [])
Expand Down Expand Up @@ -178,7 +176,6 @@ function should_be_sudo()
* Tap the given value.
*
* @param mixed $value
* @param callable $callback
* @return mixed
*/
function tap($value, callable $callback)
Expand Down
7 changes: 0 additions & 7 deletions tests/BrewTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,6 @@ public function test_getAllRunningServices_will_return_unique_services()

/**
* @dataProvider supportedPhpLinkPathProvider
*
* @param $path
* @param $matches
*/
public function test_get_parsed_linked_php_will_return_matches_for_linked_php($path, $matches)
{
Expand All @@ -385,10 +382,6 @@ public function test_get_parsed_linked_php_will_return_matches_for_linked_php($p

/**
* @dataProvider supportedPhpLinkPathProvider
*
* @param $path
* @param $matches
* @param $expectedLinkFormula
*/
public function test_get_linked_php_formula_will_return_linked_php_directory($path, $matches, $expectedLinkFormula)
{
Expand Down

0 comments on commit 044bdc1

Please sign in to comment.