Skip to content

Commit c8cbd9d

Browse files
committed
CS fix
1 parent ba1156d commit c8cbd9d

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

Inpsyde/Sniffs/CodeQuality/AssignmentInsideConditionSniff.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ private function isAssignmentWrapped(
102102
int $insideIfAssignmentPosition,
103103
int $ifOpenerPosition,
104104
File $file
105-
) {
105+
): bool {
106+
106107
$insideIfOpenParenthesisPosition = $file->findPrevious(
107108
T_OPEN_PARENTHESIS,
108109
$insideIfAssignmentPosition - 1,

Inpsyde/Sniffs/CodeQuality/ElementNameMinimalLengthSniff.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ private function shouldBeSkipped(
9090
int $elementNameLength,
9191
string $elementName
9292
): bool {
93+
9394
if ($elementNameLength >= $this->minLength) {
9495
return true;
9596
}

Inpsyde/Sniffs/CodeQuality/FunctionLengthSniff.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ private function docBlocksData(
185185
int $position,
186186
array $docBlocks
187187
): array {
188+
188189
if (!$this->ignoreDocBlocks
189190
|| $tokens[$position]['code'] !== T_DOC_COMMENT_OPEN_TAG
190191
) {

0 commit comments

Comments
 (0)