original_string: public static function getLanguageRedirects($languageRedirects)
      {
          if (!$languageRedirects && isset(Yii::$app->params['languageRedirects'])) {
              $languageRedirects = Yii::$app->params['languageRedirects'];
          }
  
          return $languageRedirects;
      }
code: public static function getLanguageRedirects($languageRedirects)
      {
          if (!$languageRedirects && isset(Yii::$app->params['languageRedirects'])) {
              $languageRedirects = Yii::$app->params['languageRedirects'];
          }
  
          return $languageRedirects;
      }
code_tokens: public static function getLanguageRedirects ( $ languageRedirects ) { if ( ! $ languageRedirects && isset ( Yii :: $ app -> params [ 'languageRedirects' ] ) ) { $ languageRedirects = Yii :: $ app -> params [ 'languageRedirects' ] ; } return $ languageRedirects ; }
docstring: Validates and returns list of language redirects.
  
  @param array $languageRedirects
  @return array
docstring_tokens: Validates and returns list of language redirects .