Skip to content

Commit

Permalink
[TASK] Adjust code style to new PER 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
s2b committed Sep 28, 2023
1 parent b6f58c8 commit dbb3d66
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions Classes/Configuration/VitePlaceholderProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ final class VitePlaceholderProcessor implements PlaceholderProcessorInterface
public function __construct(
private readonly ExtensionConfiguration $extensionConfiguration,
private readonly ViteService $viteService
) {
}
) {}

public function canProcess(string $placeholder, array $referenceArray): bool
{
Expand Down
4 changes: 1 addition & 3 deletions Classes/Exception/ViteException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@

namespace Praetorius\ViteAssetCollector\Exception;

class ViteException extends \Exception
{
}
class ViteException extends \Exception {}
3 changes: 1 addition & 2 deletions Classes/Service/ViteService.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ public function __construct(
private readonly FrontendInterface $cache,
protected AssetCollector $assetCollector,
protected PackageManager $packageManager
) {
}
) {}

public function determineDevServer(ServerRequestInterface $request): UriInterface
{
Expand Down

0 comments on commit dbb3d66

Please sign in to comment.