original_string: public static function loadOverrideCached($theme, $component, $fileName)
      {
          $partial = Partial::loadCached($theme, strtolower($component->alias) . '/' . $fileName);
  
          if ($partial === null) {
              $partial = Partial::loadCached($theme, $component->alias . '/' . $fileName);
          }
  
          return $partial;
      }
code: public static function loadOverrideCached($theme, $component, $fileName)
      {
          $partial = Partial::loadCached($theme, strtolower($component->alias) . '/' . $fileName);
  
          if ($partial === null) {
              $partial = Partial::loadCached($theme, $component->alias . '/' . $fileName);
          }
  
          return $partial;
      }
code_tokens: public static function loadOverrideCached ( $ theme , $ component , $ fileName ) { $ partial = Partial :: loadCached ( $ theme , strtolower ( $ component -> alias ) . '/' . $ fileName ) ; if ( $ partial === null ) { $ partial = Partial :: loadCached ( $ theme , $ component -> alias . '/' . $ fileName ) ; } return $ partial ; }
docstring: Checks if a partial override exists in the supplied theme and returns it.
  Since the beginning of time, October inconsistently checked for overrides
  using the component alias exactly, resulting in a folder with uppercase
  characters, subsequently this method checks for both variants.
  
  @param \Cms\Classes\Theme $theme
  @param \Cms\Classes\ComponentBase $component
  @param string $fileName
  @return mixed
docstring_tokens: Checks if a partial override exists in the supplied theme and returns it . Since the beginning of time October inconsistently checked for overrides using the component alias exactly resulting in a folder with uppercase characters subsequently this method checks for both variants .