Commit dca16242 authored by Harsh Panchal's avatar Harsh Panchal Committed by Ivica Puljic
Browse files

Issue #3294089 by Harsh panchal, pivica: \Drupal calls should be avoided in...

Issue #3294089 by Harsh panchal, pivica:  \Drupal calls should be avoided in classes, use dependency injection instead
parent 2274527b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ class JavascriptLocalCache {
      }
    }
    // Return the local JS file path.
    $query_string = '?' . (\Drupal::state()->get('system.css_js_query_string') ?: '0');
    $query_string = '?' . ($this->state->get('system.css_js_query_string') ?: '0');
    return file_url_transform_relative(file_create_url($file_destination)) . $query_string;
  }