Passed
Push — v4 ( b279ec...564170 )
by Benjamin
04:13
created
src/apis/AnalyticsReporting.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         $reportsResponse = $this->getReportingReports($criterias);
67 67
 
68 68
         if ($toArray) {
69
-            $reportsResponseArray = (array)$reportsResponse->toSimpleObject();
69
+            $reportsResponseArray = (array) $reportsResponse->toSimpleObject();
70 70
 
71 71
             return $reportsResponseArray['reports'];
72 72
         }
@@ -151,15 +151,15 @@  discard block
 block discarded – undo
151 151
             $request->setFiltersExpression($criteria->filtersExpression);
152 152
         }
153 153
 
154
-        if($criteria->includeEmptyRows) {
154
+        if ($criteria->includeEmptyRows) {
155 155
             $request->setIncludeEmptyRows($criteria->includeEmptyRows);
156 156
         }
157 157
 
158
-        if($criteria->hideTotals) {
158
+        if ($criteria->hideTotals) {
159 159
             $request->setHideTotals($criteria->hideTotals);
160 160
         }
161 161
 
162
-        if($criteria->hideValueRanges) {
162
+        if ($criteria->hideValueRanges) {
163 163
             $request->setHideValueRanges($criteria->hideValueRanges);
164 164
         }
165 165
 
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
      */
175 175
     private function setRequestViewIdFromCriteria(Google_Service_AnalyticsReporting_ReportRequest &$request, ReportRequestCriteria $criteria)
176 176
     {
177
-        if($criteria->gaViewId) {
177
+        if ($criteria->gaViewId) {
178 178
             $request->setViewId('ga:'.$criteria->gaViewId);
179 179
         } else {
180 180
             if ($criteria->viewId) {
Please login to merge, or discard this patch.