Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function process(File $phpcsFile, int $modifierPointer): void
return;
}

// Ignore other class members with same mofidiers
// Ignore other class members with same modifiers
$propertyPointer = TokenHelper::findNext($phpcsFile, [T_VARIABLE, T_CONST, T_FUNCTION, T_CLASS], $modifierPointer + 1);
if (
$propertyPointer === null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function process(File $phpcsFile, int $pointer): void
return;
}

// Ignore other class members with same mofidiers
// Ignore other class members with same modifiers
$propertyPointer = TokenHelper::findNext($phpcsFile, [T_VARIABLE, T_CONST, T_FUNCTION, T_CLASS], $pointer + 1);
if (
$propertyPointer === null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function process(File $phpcsFile, int $modifierPointer): void
}
}

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

if ($propertyPointer === null || $tokens[$propertyPointer]['code'] !== T_VARIABLE) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function process(File $phpcsFile, int $pointer): int
return $nextPointer;
}

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