Skip to content

Commit fe0381d

Browse files
vranakukulich
authored andcommitted
Fix typo in comment
1 parent 0bac10b commit fe0381d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

SlevomatCodingStandard/Sniffs/Classes/DisallowMultiPropertyDefinitionSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function process(File $phpcsFile, int $modifierPointer): void
5151
return;
5252
}
5353

54-
// Ignore other class members with same mofidiers
54+
// Ignore other class members with same modifiers
5555
$propertyPointer = TokenHelper::findNext($phpcsFile, [T_VARIABLE, T_CONST, T_FUNCTION, T_CLASS], $modifierPointer + 1);
5656
if (
5757
$propertyPointer === null

SlevomatCodingStandard/Sniffs/Classes/ForbiddenPublicPropertySniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function process(File $phpcsFile, int $pointer): void
5555
return;
5656
}
5757

58-
// Ignore other class members with same mofidiers
58+
// Ignore other class members with same modifiers
5959
$propertyPointer = TokenHelper::findNext($phpcsFile, [T_VARIABLE, T_CONST, T_FUNCTION, T_CLASS], $pointer + 1);
6060
if (
6161
$propertyPointer === null

SlevomatCodingStandard/Sniffs/Classes/PropertyDeclarationSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function process(File $phpcsFile, int $modifierPointer): void
114114
}
115115
}
116116

117-
// Ignore other class members with same mofidiers
117+
// Ignore other class members with same modifiers
118118
$propertyPointer = TokenHelper::findNext($phpcsFile, [T_CLASS, T_FUNCTION, T_CONST, T_VARIABLE], $modifierPointer + 1);
119119

120120
if ($propertyPointer === null || $tokens[$propertyPointer]['code'] !== T_VARIABLE) {

SlevomatCodingStandard/Sniffs/Classes/PropertySpacingSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function process(File $phpcsFile, int $pointer): int
4141
return $nextPointer;
4242
}
4343

44-
// Ignore other class members with same mofidiers
44+
// Ignore other class members with same modifiers
4545
$propertyPointer = TokenHelper::findNext($phpcsFile, [T_VARIABLE, T_FUNCTION, T_CONST, T_CLASS], $pointer + 1);
4646
if (
4747
$propertyPointer === null

0 commit comments

Comments
 (0)