Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Dec 19, 2024
1 parent 3d7ac19 commit c72fa14
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ParallelSSH.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ParallelSSH extends RemoteProcessor
* @param \Closure|null $callback
* @return int
*/
public function run(Task $task, Closure $callback = null)
public function run(Task $task, ?Closure $callback = null)
{
$processes = [];

Expand Down
2 changes: 1 addition & 1 deletion src/RemoteProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ abstract class RemoteProcessor
* @param \Closure|null $callback
* @return int
*/
abstract public function run(Task $task, Closure $callback = null);
abstract public function run(Task $task, ?Closure $callback = null);

/**
* Run the given script on the given host.
Expand Down
2 changes: 1 addition & 1 deletion src/SSH.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class SSH extends RemoteProcessor
* @param \Closure|null $callback
* @return int
*/
public function run(Task $task, Closure $callback = null)
public function run(Task $task, ?Closure $callback = null)
{
$processes = [];

Expand Down

0 comments on commit c72fa14

Please sign in to comment.