Passed
Push — v4 ( 2af7cc...0ba6fc )
by Benjamin
03:57
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
         }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     {
111 111
         $request = new Google_Service_AnalyticsReporting_ReportRequest();
112 112
 
113
-        if($criteria->gaViewId) {
113
+        if ($criteria->gaViewId) {
114 114
             $request->setViewId('ga:'.$criteria->gaViewId);
115 115
         } else {
116 116
             if ($criteria->viewId) {
@@ -160,15 +160,15 @@  discard block
 block discarded – undo
160 160
             $request->setFiltersExpression($criteria->filtersExpression);
161 161
         }
162 162
 
163
-        if($criteria->includeEmptyRows) {
163
+        if ($criteria->includeEmptyRows) {
164 164
             $request->setIncludeEmptyRows($criteria->includeEmptyRows);
165 165
         }
166 166
 
167
-        if($criteria->hideTotals) {
167
+        if ($criteria->hideTotals) {
168 168
             $request->setHideTotals($criteria->hideTotals);
169 169
         }
170 170
 
171
-        if($criteria->hideValueRanges) {
171
+        if ($criteria->hideValueRanges) {
172 172
             $request->setHideValueRanges($criteria->hideValueRanges);
173 173
         }
174 174
 
Please login to merge, or discard this patch.