Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
Toflar committed Nov 19, 2024
1 parent 1fad542 commit efea0af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Controller/DownloadBulkyItemController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
class DownloadBulkyItemController
{
public function __construct(
private UriSigner $uriSigner,
private BulkyItemStorage $bulkyItemStorage,
private readonly UriSigner $uriSigner,
private readonly BulkyItemStorage $bulkyItemStorage,
) {
}

Expand Down
2 changes: 1 addition & 1 deletion src/Gateway/AbstractGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected function replaceTokens(Parcel $parcel, string $value, TokenCollection|
return $value;
}

$tokenCollection = $tokenCollection ?? $parcel->getStamp(TokenCollectionStamp::class)?->tokenCollection;
$tokenCollection ??= $parcel->getStamp(TokenCollectionStamp::class)?->tokenCollection;

if (!$tokenCollection instanceof TokenCollection) {
return $value;
Expand Down
2 changes: 1 addition & 1 deletion src/Twig/NotificationCenterExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class NotificationCenterExtension extends AbstractExtension
{
public function __construct(private BulkyItemStorage $bulkyItemStorage)
public function __construct(private readonly BulkyItemStorage $bulkyItemStorage)
{
}

Expand Down

0 comments on commit efea0af

Please sign in to comment.