code: private function fixElse($index, Token $token, Tokens $tokens)
      {
          if (!$token->isGivenKind(T_ELSE)) {
              return;
          }
  
          $tokenAfterElseIndex = $tokens->getNextMeaningfulToken($index);
          $tokenAfterElse = $tokens[$tokenAfterElseIndex];
          if (!$tokenAfterElse->equals(':')) {
              return;
          }
  
          $this->addBraces($tokens, new Token([T_ELSE, 'else']), $index, $tokenAfterElseIndex);
      }
docs: Handle the else:.
  
  @param int    $index  the index of the token being processed
  @param Token  $token  the token being processed
  @param Tokens $tokens the collection of tokens