src/Standards/BestIt/Sniffs/Formatting/AlphabeticClassContentSniff.php
private function checkAndRegisterSortingProblemsOfTypes(int $token): void
    {
        $foundContentsOrg = $this->getContentsOfTokenType($token);

        $foundContentsSorted = $this->sortTokensWithoutPos($foundContentsOrg);

        $this->checkAndRegisterSortingProblems($foundContentsOrg, $foundContentsSorted);
    }
private function checkAndRegisterSortingProblemsOfTypes(int $token): void
    {
        $foundContentsOrg = $this->getContentsOfTokenType($token);

        $foundContentsSorted = $this->sortTokensWithoutPos($foundContentsOrg);

        $this->checkAndRegisterSortingProblems($foundContentsOrg, $foundContentsSorted);
    }
private function checkAndRegisterSortingProblemsOfTypes ( int $ token ) : void { $ foundContentsOrg = $ this -> getContentsOfTokenType ( $ token ) ; $ foundContentsSorted = $ this -> sortTokensWithoutPos ( $ foundContentsOrg ) ; $ this -> checkAndRegisterSortingProblems ( $ foundContentsOrg , $ foundContentsSorted ) ; }
Loads every content for the token type and checks their sorting.

@param int $token

@return void
Loads every content for the token type and checks their sorting .