Skip to content

Commit

Permalink
Fixes related to cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszuznanski committed Jan 24, 2024
1 parent 9a17762 commit b7dc286
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Classes/DataProcessing/GalleryProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected function calculateMediaWidthsAndHeights()
// Recalculate gallery width
$this->galleryData['width'] = floor($maximumRowWidth / $mediaScalingCorrection);

// User entered a predefined width
// User entered a predefined width
} elseif ($this->equalMediaWidth) {
$mediaScalingCorrection = 1;

Expand All @@ -133,7 +133,7 @@ protected function calculateMediaWidthsAndHeights()
// Recalculate gallery width
$this->galleryData['width'] = floor($totalRowWidth / $mediaScalingCorrection);

// Automatic setting of width and height
// Automatic setting of width and height
} else {
$maxMediaWidth = (int)($galleryWidthMinusBorderAndSpacing / $this->galleryData['count']['columns']);
foreach ($this->fileObjects as $key => $fileObject) {
Expand Down
2 changes: 1 addition & 1 deletion Classes/ViewHelpers/LoginFormViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ protected function renderRequestTokenHiddenField(): string
// basically "request token, yes" - uses form-action URI as scope
if ($isTrulyRequestToken || $requestToken === '@nonce') {
$requestToken = RequestToken::create($formAction);
// basically "request token with 'my-scope'" - uses 'my-scope'
// basically "request token with 'my-scope'" - uses 'my-scope'
} elseif (is_string($requestToken) && $requestToken !== '') {
$requestToken = RequestToken::create($requestToken);
}
Expand Down

0 comments on commit b7dc286

Please sign in to comment.