code: private function needFixing(Tokens $tokens, $index)
      {
          if ($this->isStrictOrNullableReturnTypeFunction($tokens, $index)) {
              return false;
          }
  
          $content = '';
          while (!$tokens[$index]->equals(';')) {
              $index = $tokens->getNextMeaningfulToken($index);
              $content .= $tokens[$index]->getContent();
          }
  
          $content = ltrim($content, '(');
          $content = rtrim($content, ');');
  
          return 'null' === strtolower($content);
      }
docs: Does the return statement located at a given index need fixing?
  
  @param Tokens $tokens
  @param int    $index
  
  @return bool