Commit 389ad74a authored by Kostia Bohach's avatar Kostia Bohach Committed by Robert Kasza
Browse files

Issue #3281212 by _shY, sourabhjain, kaszarobert: Fix code style issues

parent 61facaa0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -643,7 +643,9 @@ class GoogleAnalyticsCounterFeed {
   */
  protected function sanitizeReport() {
    // Named keys for report values.
    $this->results->rawRows = isset($this->results->rows) ? $this->results->rows : [];
    $this->results->rawRows = isset($this->results) && isset($this->results->rows) ?
      $this->results->rows :
      [];
    $this->results->rows = [];
    foreach ($this->results->rawRows as $row_key => $row_value) {
      foreach ($row_value as $item_key => $item_value) {
+6 −1
Original line number Diff line number Diff line
@@ -16,7 +16,12 @@ class GoogleAnalyticsCounterQueueTest extends CronQueueTest {
   *
   * @var array
   */
  protected static $modules = ['node', 'user', 'google_analytics_counter', 'path_alias'];
  protected static $modules = [
    'node',
    'user',
    'google_analytics_counter',
    'path_alias',
  ];

  /**
   * The queue plugin being tested.