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 Sep 12, 2024
1 parent 0e21077 commit 2148fd1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Event/LSCachePurging.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ class LSCachePurging
* tags: string[]
* } $data
*/
public function __construct(public array $data, public ?User $actor = null) { }
public function __construct(public array $data, public ?User $actor = null)
{
}
}
1 change: 1 addition & 0 deletions src/Middleware/AbstractPurgeCacheMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ protected function formatPurgeParams(array $purgeData): array
array_map(fn (string $tag) => "tag=$tag", $purgeData['tags']),
);
}

return $params;
}

Expand Down
1 change: 1 addition & 0 deletions src/Utility/LSCachePurger.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Illuminate\Events\Dispatcher;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\NullOutput;

use const PHP_SAPI;

/**
Expand Down

0 comments on commit 2148fd1

Please sign in to comment.