Skip to content

Commit

Permalink
chore: code style to comply with lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tomloprod committed Jun 20, 2024
1 parent 4fca4c6 commit 4517953
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions src/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ final class Group implements Taskable
{
use HasTasks;

public function __construct(public string $name)
{
}
public function __construct(public string $name) {}

public function start(): void
{
Expand Down
4 changes: 1 addition & 3 deletions src/Services/TimeWardenManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ final class TimeWardenManager implements Taskable
*/
private array $groups = [];

private function __construct()
{
}
private function __construct() {}

public function __clone()
{
Expand Down
4 changes: 1 addition & 3 deletions src/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ final class Task

private float $endTimestamp = 0.0;

public function __construct(public string $name, private readonly ?Taskable $taskable = null)
{
}
public function __construct(public string $name, private readonly ?Taskable $taskable = null) {}

public function start(): void
{
Expand Down

0 comments on commit 4517953

Please sign in to comment.