Skip to content

Commit

Permalink
Fix spelling mistake in classname PhpdocTagComparator
Browse files Browse the repository at this point in the history
  • Loading branch information
Jubeki committed Jun 23, 2022
1 parent be483f8 commit 404141a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/Fixers/LaravelPhpdocSeparationFixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace App\Fixers;

use App\Fixers\Utils\PhpdocTagComperator;
use App\Fixers\Utils\PhpdocTagComparator;
use PhpCsFixer\AbstractFixer;
use PhpCsFixer\DocBlock\Annotation;
use PhpCsFixer\DocBlock\DocBlock;
Expand Down Expand Up @@ -120,7 +120,7 @@ private function fixAnnotations(DocBlock $doc): void
}

if (true === $next->getTag()->valid()) {
if (PhpdocTagComperator::shouldBeTogether($annotation->getTag(), $next->getTag())) {
if (PhpdocTagComparator::shouldBeTogether($annotation->getTag(), $next->getTag())) {
$this->ensureAreTogether($doc, $annotation, $next);
} else {
$this->ensureAreSeparate($doc, $annotation, $next);
Expand Down
2 changes: 1 addition & 1 deletion app/Fixers/Utils/PhpdocTagComperator.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use PhpCsFixer\DocBlock\Tag;

final class PhpdocTagComperator
final class PhpdocTagComparator
{
/**
* Groups of tags that should be allowed to immediately follow each other.
Expand Down

0 comments on commit 404141a

Please sign in to comment.