Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kukulich committed Jan 23, 2020
1 parent 6bb776f commit 0a7934d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ public function process(File $phpcsFile, $methodPointer): void
}

$signature = $this->getSignature($phpcsFile, $signatureStartPointer, $signatureEndPointer);
$signatureWithoutTabIndetation = $this->getSignatureWithoutTabs($signature);
$signatureWithoutTabIndentation = $this->getSignatureWithoutTabs($signature);

$minLineLength = SniffSettingsHelper::normalizeInteger($this->minLineLength);
if ($minLineLength !== 0 && strlen($signatureWithoutTabIndetation) < $minLineLength) {
if ($minLineLength !== 0 && strlen($signatureWithoutTabIndentation) < $minLineLength) {
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ public function process(File $phpcsFile, $methodPointer): void
}

$signature = $this->getSignature($phpcsFile, $signatureStartPointer, $signatureEndPointer);
$signatureWithoutTabIndetation = $this->getSignatureWithoutTabs($signature);
$signatureWithoutTabIndentation = $this->getSignatureWithoutTabs($signature);

$maxLineLength = SniffSettingsHelper::normalizeInteger($this->maxLineLength);
if ($maxLineLength !== 0 && strlen($signatureWithoutTabIndetation) > $maxLineLength) {
if ($maxLineLength !== 0 && strlen($signatureWithoutTabIndentation) > $maxLineLength) {
return;
}

Expand Down

0 comments on commit 0a7934d

Please sign in to comment.