Passed
Branch master (82fe3a)
by Chris
04:08
created
assets/lib/google/src/Google/Cache/Null.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,9 +30,9 @@
 block discarded – undo
30 30
 
31 31
   }
32 32
 
33
-   /**
34
-   * @inheritDoc
35
-   */
33
+    /**
34
+     * @inheritDoc
35
+     */
36 36
   public function get($key, $expiration = false)
37 37
   {
38 38
     return false;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
  * limitations under the License.
16 16
  */
17 17
 
18
-if (!class_exists('MonsterInsights_GA_Lib_Client')) {
18
+if ( ! class_exists('MonsterInsights_GA_Lib_Client')) {
19 19
   require_once dirname(__FILE__) . '/../autoload.php';
20 20
 }
21 21
 
Please login to merge, or discard this patch.
assets/lib/google/src/Google/Cache/Exception.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
  * limitations under the License.
16 16
  */
17 17
 
18
-if (!class_exists('MonsterInsights_GA_Lib_Client')) {
18
+if ( ! class_exists('MonsterInsights_GA_Lib_Client')) {
19 19
   require_once dirname(__FILE__) . '/../autoload.php';
20 20
 }
21 21
 
Please login to merge, or discard this patch.
assets/lib/google/src/Google/Cache/File.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
  * limitations under the License.
16 16
  */
17 17
 
18
-if (!class_exists('MonsterInsights_GA_Lib_Client')) {
18
+if ( ! class_exists('MonsterInsights_GA_Lib_Client')) {
19 19
   require_once dirname(__FILE__) . '/../autoload.php';
20 20
 }
21 21
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     $storageFile = $this->getCacheFile($key);
50 50
     $data = false;
51 51
 
52
-    if (!file_exists($storageFile)) {
52
+    if ( ! file_exists($storageFile)) {
53 53
       $this->client->getLogger()->debug(
54 54
           'File cache miss',
55 55
           array('key' => $key, 'file' => $storageFile)
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     if ($this->acquireReadLock($storageFile)) {
73 73
       if (filesize($storageFile) > 0) {
74 74
         $data = fread($this->fh, filesize($storageFile));
75
-        $data =  unserialize($data);
75
+        $data = unserialize($data);
76 76
       } else {
77 77
         $this->client->getLogger()->debug(
78 78
             'Cache file was empty',
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
   public function delete($key)
116 116
   {
117 117
     $file = $this->getCacheFile($key);
118
-    if (file_exists($file) && !unlink($file)) {
118
+    if (file_exists($file) && ! unlink($file)) {
119 119
       $this->client->getLogger()->error(
120 120
           'File cache delete failed',
121 121
           array('key' => $key, 'file' => $file)
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     // and thus give some basic amount of scalability
147 147
     $storageDir = $this->path . '/' . substr(md5($file), 0, 2);
148 148
     if ($forWrite && ! is_dir($storageDir)) {
149
-      if (! mkdir($storageDir, 0700, true)) {
149
+      if ( ! mkdir($storageDir, 0700, true)) {
150 150
         $this->client->getLogger()->error(
151 151
             'File cache creation failed',
152 152
             array('dir' => $storageDir)
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
   private function acquireWriteLock($storageFile)
166 166
   {
167 167
     $rc = $this->acquireLock(LOCK_EX, $storageFile);
168
-    if (!$rc) {
168
+    if ( ! $rc) {
169 169
       $this->client->getLogger()->notice(
170 170
           'File cache write lock failed',
171 171
           array('file' => $storageFile)
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
   {
180 180
     $mode = $type == LOCK_EX ? "w" : "r";
181 181
     $this->fh = fopen($storageFile, $mode);
182
-    if (!$this->fh) {
182
+    if ( ! $this->fh) {
183 183
       $this->client->getLogger()->error(
184 184
           'Failed to open file during lock acquisition',
185 185
           array('file' => $storageFile)
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
       chmod($storageFile, 0600);
191 191
     }
192 192
     $count = 0;
193
-    while (!flock($this->fh, $type | LOCK_NB)) {
193
+    while ( ! flock($this->fh, $type | LOCK_NB)) {
194 194
       // Sleep for 10ms.
195 195
       usleep(10000);
196 196
       if (++$count < self::MAX_LOCK_RETRIES) {
Please login to merge, or discard this patch.
assets/lib/google/src/Google/Cache/Apc.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,9 +46,9 @@
 block discarded – undo
46 46
     $this->client = $client;
47 47
   }
48 48
 
49
-   /**
50
-   * @inheritDoc
51
-   */
49
+    /**
50
+     * @inheritDoc
51
+     */
52 52
   public function get($key, $expiration = false)
53 53
   {
54 54
     $ret = apc_fetch($key);
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
  * limitations under the License.
16 16
  */
17 17
 
18
-if (!class_exists('MonsterInsights_GA_Lib_Client')) {
18
+if ( ! class_exists('MonsterInsights_GA_Lib_Client')) {
19 19
   require_once dirname(__FILE__) . '/../autoload.php';
20 20
 }
21 21
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
   public function __construct(MonsterInsights_GA_Lib_Client $client)
38 38
   {
39
-    if (! function_exists('apc_add') ) {
39
+    if ( ! function_exists('apc_add')) {
40 40
       $error = "Apc functions not available";
41 41
 
42 42
       $client->getLogger()->error($error);
Please login to merge, or discard this patch.
assets/lib/google/src/Google/Service/Webmasters.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
                   'required' => true,
97 97
                 ),
98 98
               ),
99
-            ),'get' => array(
99
+            ), 'get' => array(
100 100
               'path' => 'sites/{siteUrl}/sitemaps/{feedpath}',
101 101
               'httpMethod' => 'GET',
102 102
               'parameters' => array(
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
                   'required' => true,
112 112
                 ),
113 113
               ),
114
-            ),'list' => array(
114
+            ), 'list' => array(
115 115
               'path' => 'sites/{siteUrl}/sitemaps',
116 116
               'httpMethod' => 'GET',
117 117
               'parameters' => array(
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
                   'type' => 'string',
126 126
                 ),
127 127
               ),
128
-            ),'submit' => array(
128
+            ), 'submit' => array(
129 129
               'path' => 'sites/{siteUrl}/sitemaps/{feedpath}',
130 130
               'httpMethod' => 'PUT',
131 131
               'parameters' => array(
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
                   'required' => true,
161 161
                 ),
162 162
               ),
163
-            ),'delete' => array(
163
+            ), 'delete' => array(
164 164
               'path' => 'sites/{siteUrl}',
165 165
               'httpMethod' => 'DELETE',
166 166
               'parameters' => array(
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
                   'required' => true,
171 171
                 ),
172 172
               ),
173
-            ),'get' => array(
173
+            ), 'get' => array(
174 174
               'path' => 'sites/{siteUrl}',
175 175
               'httpMethod' => 'GET',
176 176
               'parameters' => array(
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
                   'required' => true,
181 181
                 ),
182 182
               ),
183
-            ),'list' => array(
183
+            ), 'list' => array(
184 184
               'path' => 'sites',
185 185
               'httpMethod' => 'GET',
186 186
               'parameters' => array(),
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
                   'required' => true,
252 252
                 ),
253 253
               ),
254
-            ),'list' => array(
254
+            ), 'list' => array(
255 255
               'path' => 'sites/{siteUrl}/urlCrawlErrorsSamples',
256 256
               'httpMethod' => 'GET',
257 257
               'parameters' => array(
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
                   'required' => true,
272 272
                 ),
273 273
               ),
274
-            ),'markAsFixed' => array(
274
+            ), 'markAsFixed' => array(
275 275
               'path' => 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}',
276 276
               'httpMethod' => 'DELETE',
277 277
               'parameters' => array(
Please login to merge, or discard this patch.
assets/lib/google/src/Google/Service/Analytics.php 1 patch
Spacing   +56 added lines, -56 removed lines patch added patch discarded remove patch
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
                   'required' => true,
301 301
                 ),
302 302
               ),
303
-            ),'insert' => array(
303
+            ), 'insert' => array(
304 304
               'path' => 'management/accounts/{accountId}/entityUserLinks',
305 305
               'httpMethod' => 'POST',
306 306
               'parameters' => array(
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
                   'required' => true,
311 311
                 ),
312 312
               ),
313
-            ),'list' => array(
313
+            ), 'list' => array(
314 314
               'path' => 'management/accounts/{accountId}/entityUserLinks',
315 315
               'httpMethod' => 'GET',
316 316
               'parameters' => array(
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
                   'type' => 'integer',
329 329
                 ),
330 330
               ),
331
-            ),'update' => array(
331
+            ), 'update' => array(
332 332
               'path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}',
333 333
               'httpMethod' => 'PUT',
334 334
               'parameters' => array(
@@ -429,7 +429,7 @@  discard block
 block discarded – undo
429 429
                   'required' => true,
430 430
                 ),
431 431
               ),
432
-            ),'insert' => array(
432
+            ), 'insert' => array(
433 433
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions',
434 434
               'httpMethod' => 'POST',
435 435
               'parameters' => array(
@@ -444,7 +444,7 @@  discard block
 block discarded – undo
444 444
                   'required' => true,
445 445
                 ),
446 446
               ),
447
-            ),'list' => array(
447
+            ), 'list' => array(
448 448
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions',
449 449
               'httpMethod' => 'GET',
450 450
               'parameters' => array(
@@ -467,7 +467,7 @@  discard block
 block discarded – undo
467 467
                   'type' => 'integer',
468 468
                 ),
469 469
               ),
470
-            ),'patch' => array(
470
+            ), 'patch' => array(
471 471
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',
472 472
               'httpMethod' => 'PATCH',
473 473
               'parameters' => array(
@@ -491,7 +491,7 @@  discard block
 block discarded – undo
491 491
                   'type' => 'boolean',
492 492
                 ),
493 493
               ),
494
-            ),'update' => array(
494
+            ), 'update' => array(
495 495
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}',
496 496
               'httpMethod' => 'PUT',
497 497
               'parameters' => array(
@@ -545,7 +545,7 @@  discard block
 block discarded – undo
545 545
                   'required' => true,
546 546
                 ),
547 547
               ),
548
-            ),'insert' => array(
548
+            ), 'insert' => array(
549 549
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics',
550 550
               'httpMethod' => 'POST',
551 551
               'parameters' => array(
@@ -560,7 +560,7 @@  discard block
 block discarded – undo
560 560
                   'required' => true,
561 561
                 ),
562 562
               ),
563
-            ),'list' => array(
563
+            ), 'list' => array(
564 564
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics',
565 565
               'httpMethod' => 'GET',
566 566
               'parameters' => array(
@@ -583,7 +583,7 @@  discard block
 block discarded – undo
583 583
                   'type' => 'integer',
584 584
                 ),
585 585
               ),
586
-            ),'patch' => array(
586
+            ), 'patch' => array(
587 587
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',
588 588
               'httpMethod' => 'PATCH',
589 589
               'parameters' => array(
@@ -607,7 +607,7 @@  discard block
 block discarded – undo
607 607
                   'type' => 'boolean',
608 608
                 ),
609 609
               ),
610
-            ),'update' => array(
610
+            ), 'update' => array(
611 611
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}',
612 612
               'httpMethod' => 'PUT',
613 613
               'parameters' => array(
@@ -666,7 +666,7 @@  discard block
 block discarded – undo
666 666
                   'required' => true,
667 667
                 ),
668 668
               ),
669
-            ),'get' => array(
669
+            ), 'get' => array(
670 670
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
671 671
               'httpMethod' => 'GET',
672 672
               'parameters' => array(
@@ -691,7 +691,7 @@  discard block
 block discarded – undo
691 691
                   'required' => true,
692 692
                 ),
693 693
               ),
694
-            ),'insert' => array(
694
+            ), 'insert' => array(
695 695
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',
696 696
               'httpMethod' => 'POST',
697 697
               'parameters' => array(
@@ -711,7 +711,7 @@  discard block
 block discarded – undo
711 711
                   'required' => true,
712 712
                 ),
713 713
               ),
714
-            ),'list' => array(
714
+            ), 'list' => array(
715 715
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments',
716 716
               'httpMethod' => 'GET',
717 717
               'parameters' => array(
@@ -739,7 +739,7 @@  discard block
 block discarded – undo
739 739
                   'type' => 'integer',
740 740
                 ),
741 741
               ),
742
-            ),'patch' => array(
742
+            ), 'patch' => array(
743 743
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
744 744
               'httpMethod' => 'PATCH',
745 745
               'parameters' => array(
@@ -764,7 +764,7 @@  discard block
 block discarded – undo
764 764
                   'required' => true,
765 765
                 ),
766 766
               ),
767
-            ),'update' => array(
767
+            ), 'update' => array(
768 768
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}',
769 769
               'httpMethod' => 'PUT',
770 770
               'parameters' => array(
@@ -814,7 +814,7 @@  discard block
 block discarded – undo
814 814
                   'required' => true,
815 815
                 ),
816 816
               ),
817
-            ),'get' => array(
817
+            ), 'get' => array(
818 818
               'path' => 'management/accounts/{accountId}/filters/{filterId}',
819 819
               'httpMethod' => 'GET',
820 820
               'parameters' => array(
@@ -829,7 +829,7 @@  discard block
 block discarded – undo
829 829
                   'required' => true,
830 830
                 ),
831 831
               ),
832
-            ),'insert' => array(
832
+            ), 'insert' => array(
833 833
               'path' => 'management/accounts/{accountId}/filters',
834 834
               'httpMethod' => 'POST',
835 835
               'parameters' => array(
@@ -839,7 +839,7 @@  discard block
 block discarded – undo
839 839
                   'required' => true,
840 840
                 ),
841 841
               ),
842
-            ),'list' => array(
842
+            ), 'list' => array(
843 843
               'path' => 'management/accounts/{accountId}/filters',
844 844
               'httpMethod' => 'GET',
845 845
               'parameters' => array(
@@ -857,7 +857,7 @@  discard block
 block discarded – undo
857 857
                   'type' => 'integer',
858 858
                 ),
859 859
               ),
860
-            ),'patch' => array(
860
+            ), 'patch' => array(
861 861
               'path' => 'management/accounts/{accountId}/filters/{filterId}',
862 862
               'httpMethod' => 'PATCH',
863 863
               'parameters' => array(
@@ -872,7 +872,7 @@  discard block
 block discarded – undo
872 872
                   'required' => true,
873 873
                 ),
874 874
               ),
875
-            ),'update' => array(
875
+            ), 'update' => array(
876 876
               'path' => 'management/accounts/{accountId}/filters/{filterId}',
877 877
               'httpMethod' => 'PUT',
878 878
               'parameters' => array(
@@ -922,7 +922,7 @@  discard block
 block discarded – undo
922 922
                   'required' => true,
923 923
                 ),
924 924
               ),
925
-            ),'insert' => array(
925
+            ), 'insert' => array(
926 926
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',
927 927
               'httpMethod' => 'POST',
928 928
               'parameters' => array(
@@ -942,7 +942,7 @@  discard block
 block discarded – undo
942 942
                   'required' => true,
943 943
                 ),
944 944
               ),
945
-            ),'list' => array(
945
+            ), 'list' => array(
946 946
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals',
947 947
               'httpMethod' => 'GET',
948 948
               'parameters' => array(
@@ -970,7 +970,7 @@  discard block
 block discarded – undo
970 970
                   'type' => 'integer',
971 971
                 ),
972 972
               ),
973
-            ),'patch' => array(
973
+            ), 'patch' => array(
974 974
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',
975 975
               'httpMethod' => 'PATCH',
976 976
               'parameters' => array(
@@ -995,7 +995,7 @@  discard block
 block discarded – undo
995 995
                   'required' => true,
996 996
                 ),
997 997
               ),
998
-            ),'update' => array(
998
+            ), 'update' => array(
999 999
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}',
1000 1000
               'httpMethod' => 'PUT',
1001 1001
               'parameters' => array(
@@ -1055,7 +1055,7 @@  discard block
 block discarded – undo
1055 1055
                   'required' => true,
1056 1056
                 ),
1057 1057
               ),
1058
-            ),'get' => array(
1058
+            ), 'get' => array(
1059 1059
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
1060 1060
               'httpMethod' => 'GET',
1061 1061
               'parameters' => array(
@@ -1080,7 +1080,7 @@  discard block
 block discarded – undo
1080 1080
                   'required' => true,
1081 1081
                 ),
1082 1082
               ),
1083
-            ),'insert' => array(
1083
+            ), 'insert' => array(
1084 1084
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',
1085 1085
               'httpMethod' => 'POST',
1086 1086
               'parameters' => array(
@@ -1100,7 +1100,7 @@  discard block
 block discarded – undo
1100 1100
                   'required' => true,
1101 1101
                 ),
1102 1102
               ),
1103
-            ),'list' => array(
1103
+            ), 'list' => array(
1104 1104
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',
1105 1105
               'httpMethod' => 'GET',
1106 1106
               'parameters' => array(
@@ -1128,7 +1128,7 @@  discard block
 block discarded – undo
1128 1128
                   'type' => 'integer',
1129 1129
                 ),
1130 1130
               ),
1131
-            ),'patch' => array(
1131
+            ), 'patch' => array(
1132 1132
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
1133 1133
               'httpMethod' => 'PATCH',
1134 1134
               'parameters' => array(
@@ -1153,7 +1153,7 @@  discard block
 block discarded – undo
1153 1153
                   'required' => true,
1154 1154
                 ),
1155 1155
               ),
1156
-            ),'update' => array(
1156
+            ), 'update' => array(
1157 1157
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
1158 1158
               'httpMethod' => 'PUT',
1159 1159
               'parameters' => array(
@@ -1213,7 +1213,7 @@  discard block
 block discarded – undo
1213 1213
                   'required' => true,
1214 1214
                 ),
1215 1215
               ),
1216
-            ),'insert' => array(
1216
+            ), 'insert' => array(
1217 1217
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',
1218 1218
               'httpMethod' => 'POST',
1219 1219
               'parameters' => array(
@@ -1233,7 +1233,7 @@  discard block
 block discarded – undo
1233 1233
                   'required' => true,
1234 1234
                 ),
1235 1235
               ),
1236
-            ),'list' => array(
1236
+            ), 'list' => array(
1237 1237
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks',
1238 1238
               'httpMethod' => 'GET',
1239 1239
               'parameters' => array(
@@ -1261,7 +1261,7 @@  discard block
 block discarded – undo
1261 1261
                   'type' => 'integer',
1262 1262
                 ),
1263 1263
               ),
1264
-            ),'update' => array(
1264
+            ), 'update' => array(
1265 1265
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}',
1266 1266
               'httpMethod' => 'PUT',
1267 1267
               'parameters' => array(
@@ -1316,7 +1316,7 @@  discard block
 block discarded – undo
1316 1316
                   'required' => true,
1317 1317
                 ),
1318 1318
               ),
1319
-            ),'get' => array(
1319
+            ), 'get' => array(
1320 1320
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
1321 1321
               'httpMethod' => 'GET',
1322 1322
               'parameters' => array(
@@ -1336,7 +1336,7 @@  discard block
 block discarded – undo
1336 1336
                   'required' => true,
1337 1337
                 ),
1338 1338
               ),
1339
-            ),'insert' => array(
1339
+            ), 'insert' => array(
1340 1340
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',
1341 1341
               'httpMethod' => 'POST',
1342 1342
               'parameters' => array(
@@ -1351,7 +1351,7 @@  discard block
 block discarded – undo
1351 1351
                   'required' => true,
1352 1352
                 ),
1353 1353
               ),
1354
-            ),'list' => array(
1354
+            ), 'list' => array(
1355 1355
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles',
1356 1356
               'httpMethod' => 'GET',
1357 1357
               'parameters' => array(
@@ -1374,7 +1374,7 @@  discard block
 block discarded – undo
1374 1374
                   'type' => 'integer',
1375 1375
                 ),
1376 1376
               ),
1377
-            ),'patch' => array(
1377
+            ), 'patch' => array(
1378 1378
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
1379 1379
               'httpMethod' => 'PATCH',
1380 1380
               'parameters' => array(
@@ -1394,7 +1394,7 @@  discard block
 block discarded – undo
1394 1394
                   'required' => true,
1395 1395
                 ),
1396 1396
               ),
1397
-            ),'update' => array(
1397
+            ), 'update' => array(
1398 1398
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}',
1399 1399
               'httpMethod' => 'PUT',
1400 1400
               'parameters' => array(
@@ -1472,7 +1472,7 @@  discard block
 block discarded – undo
1472 1472
                   'required' => true,
1473 1473
                 ),
1474 1474
               ),
1475
-            ),'get' => array(
1475
+            ), 'get' => array(
1476 1476
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}',
1477 1477
               'httpMethod' => 'GET',
1478 1478
               'parameters' => array(
@@ -1497,7 +1497,7 @@  discard block
 block discarded – undo
1497 1497
                   'required' => true,
1498 1498
                 ),
1499 1499
               ),
1500
-            ),'insert' => array(
1500
+            ), 'insert' => array(
1501 1501
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',
1502 1502
               'httpMethod' => 'POST',
1503 1503
               'parameters' => array(
@@ -1517,7 +1517,7 @@  discard block
 block discarded – undo
1517 1517
                   'required' => true,
1518 1518
                 ),
1519 1519
               ),
1520
-            ),'list' => array(
1520
+            ), 'list' => array(
1521 1521
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',
1522 1522
               'httpMethod' => 'GET',
1523 1523
               'parameters' => array(
@@ -1575,7 +1575,7 @@  discard block
 block discarded – undo
1575 1575
                   'required' => true,
1576 1576
                 ),
1577 1577
               ),
1578
-            ),'get' => array(
1578
+            ), 'get' => array(
1579 1579
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}',
1580 1580
               'httpMethod' => 'GET',
1581 1581
               'parameters' => array(
@@ -1600,7 +1600,7 @@  discard block
 block discarded – undo
1600 1600
                   'required' => true,
1601 1601
                 ),
1602 1602
               ),
1603
-            ),'list' => array(
1603
+            ), 'list' => array(
1604 1604
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',
1605 1605
               'httpMethod' => 'GET',
1606 1606
               'parameters' => array(
@@ -1628,7 +1628,7 @@  discard block
 block discarded – undo
1628 1628
                   'type' => 'integer',
1629 1629
                 ),
1630 1630
               ),
1631
-            ),'uploadData' => array(
1631
+            ), 'uploadData' => array(
1632 1632
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',
1633 1633
               'httpMethod' => 'POST',
1634 1634
               'parameters' => array(
@@ -1678,7 +1678,7 @@  discard block
 block discarded – undo
1678 1678
                   'required' => true,
1679 1679
                 ),
1680 1680
               ),
1681
-            ),'get' => array(
1681
+            ), 'get' => array(
1682 1682
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
1683 1683
               'httpMethod' => 'GET',
1684 1684
               'parameters' => array(
@@ -1698,7 +1698,7 @@  discard block
 block discarded – undo
1698 1698
                   'required' => true,
1699 1699
                 ),
1700 1700
               ),
1701
-            ),'insert' => array(
1701
+            ), 'insert' => array(
1702 1702
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',
1703 1703
               'httpMethod' => 'POST',
1704 1704
               'parameters' => array(
@@ -1713,7 +1713,7 @@  discard block
 block discarded – undo
1713 1713
                   'required' => true,
1714 1714
                 ),
1715 1715
               ),
1716
-            ),'list' => array(
1716
+            ), 'list' => array(
1717 1717
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',
1718 1718
               'httpMethod' => 'GET',
1719 1719
               'parameters' => array(
@@ -1736,7 +1736,7 @@  discard block
 block discarded – undo
1736 1736
                   'type' => 'integer',
1737 1737
                 ),
1738 1738
               ),
1739
-            ),'patch' => array(
1739
+            ), 'patch' => array(
1740 1740
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
1741 1741
               'httpMethod' => 'PATCH',
1742 1742
               'parameters' => array(
@@ -1756,7 +1756,7 @@  discard block
 block discarded – undo
1756 1756
                   'required' => true,
1757 1757
                 ),
1758 1758
               ),
1759
-            ),'update' => array(
1759
+            ), 'update' => array(
1760 1760
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
1761 1761
               'httpMethod' => 'PUT',
1762 1762
               'parameters' => array(
@@ -1801,7 +1801,7 @@  discard block
 block discarded – undo
1801 1801
                   'required' => true,
1802 1802
                 ),
1803 1803
               ),
1804
-            ),'insert' => array(
1804
+            ), 'insert' => array(
1805 1805
               'path' => 'management/accounts/{accountId}/webproperties',
1806 1806
               'httpMethod' => 'POST',
1807 1807
               'parameters' => array(
@@ -1811,7 +1811,7 @@  discard block
 block discarded – undo
1811 1811
                   'required' => true,
1812 1812
                 ),
1813 1813
               ),
1814
-            ),'list' => array(
1814
+            ), 'list' => array(
1815 1815
               'path' => 'management/accounts/{accountId}/webproperties',
1816 1816
               'httpMethod' => 'GET',
1817 1817
               'parameters' => array(
@@ -1829,7 +1829,7 @@  discard block
 block discarded – undo
1829 1829
                   'type' => 'integer',
1830 1830
                 ),
1831 1831
               ),
1832
-            ),'patch' => array(
1832
+            ), 'patch' => array(
1833 1833
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
1834 1834
               'httpMethod' => 'PATCH',
1835 1835
               'parameters' => array(
@@ -1844,7 +1844,7 @@  discard block
 block discarded – undo
1844 1844
                   'required' => true,
1845 1845
                 ),
1846 1846
               ),
1847
-            ),'update' => array(
1847
+            ), 'update' => array(
1848 1848
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
1849 1849
               'httpMethod' => 'PUT',
1850 1850
               'parameters' => array(
@@ -1889,7 +1889,7 @@  discard block
 block discarded – undo
1889 1889
                   'required' => true,
1890 1890
                 ),
1891 1891
               ),
1892
-            ),'insert' => array(
1892
+            ), 'insert' => array(
1893 1893
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',
1894 1894
               'httpMethod' => 'POST',
1895 1895
               'parameters' => array(
@@ -1904,7 +1904,7 @@  discard block
 block discarded – undo
1904 1904
                   'required' => true,
1905 1905
                 ),
1906 1906
               ),
1907
-            ),'list' => array(
1907
+            ), 'list' => array(
1908 1908
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',
1909 1909
               'httpMethod' => 'GET',
1910 1910
               'parameters' => array(
@@ -1927,7 +1927,7 @@  discard block
 block discarded – undo
1927 1927
                   'type' => 'integer',
1928 1928
                 ),
1929 1929
               ),
1930
-            ),'update' => array(
1930
+            ), 'update' => array(
1931 1931
               'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',
1932 1932
               'httpMethod' => 'PUT',
1933 1933
               'parameters' => array(
Please login to merge, or discard this patch.
assets/lib/google/src/Google/Service/TagManager.php 1 patch
Spacing   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -91,11 +91,11 @@  discard block
 block discarded – undo
91 91
                   'required' => true,
92 92
                 ),
93 93
               ),
94
-            ),'list' => array(
94
+            ), 'list' => array(
95 95
               'path' => 'accounts',
96 96
               'httpMethod' => 'GET',
97 97
               'parameters' => array(),
98
-            ),'update' => array(
98
+            ), 'update' => array(
99 99
               'path' => 'accounts/{accountId}',
100 100
               'httpMethod' => 'PUT',
101 101
               'parameters' => array(
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
                   'required' => true,
130 130
                 ),
131 131
               ),
132
-            ),'delete' => array(
132
+            ), 'delete' => array(
133 133
               'path' => 'accounts/{accountId}/containers/{containerId}',
134 134
               'httpMethod' => 'DELETE',
135 135
               'parameters' => array(
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
                   'required' => true,
145 145
                 ),
146 146
               ),
147
-            ),'get' => array(
147
+            ), 'get' => array(
148 148
               'path' => 'accounts/{accountId}/containers/{containerId}',
149 149
               'httpMethod' => 'GET',
150 150
               'parameters' => array(
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
                   'required' => true,
160 160
                 ),
161 161
               ),
162
-            ),'list' => array(
162
+            ), 'list' => array(
163 163
               'path' => 'accounts/{accountId}/containers',
164 164
               'httpMethod' => 'GET',
165 165
               'parameters' => array(
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
                   'required' => true,
170 170
                 ),
171 171
               ),
172
-            ),'update' => array(
172
+            ), 'update' => array(
173 173
               'path' => 'accounts/{accountId}/containers/{containerId}',
174 174
               'httpMethod' => 'PUT',
175 175
               'parameters' => array(
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
                   'required' => true,
214 214
                 ),
215 215
               ),
216
-            ),'delete' => array(
216
+            ), 'delete' => array(
217 217
               'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}',
218 218
               'httpMethod' => 'DELETE',
219 219
               'parameters' => array(
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
                   'required' => true,
234 234
                 ),
235 235
               ),
236
-            ),'get' => array(
236
+            ), 'get' => array(
237 237
               'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}',
238 238
               'httpMethod' => 'GET',
239 239
               'parameters' => array(
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
                   'required' => true,
254 254
                 ),
255 255
               ),
256
-            ),'list' => array(
256
+            ), 'list' => array(
257 257
               'path' => 'accounts/{accountId}/containers/{containerId}/folders',
258 258
               'httpMethod' => 'GET',
259 259
               'parameters' => array(
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
                   'required' => true,
269 269
                 ),
270 270
               ),
271
-            ),'update' => array(
271
+            ), 'update' => array(
272 272
               'path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}',
273 273
               'httpMethod' => 'PUT',
274 274
               'parameters' => array(
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
                   'required' => true,
393 393
                 ),
394 394
               ),
395
-            ),'delete' => array(
395
+            ), 'delete' => array(
396 396
               'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}',
397 397
               'httpMethod' => 'DELETE',
398 398
               'parameters' => array(
@@ -412,7 +412,7 @@  discard block
 block discarded – undo
412 412
                   'required' => true,
413 413
                 ),
414 414
               ),
415
-            ),'get' => array(
415
+            ), 'get' => array(
416 416
               'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}',
417 417
               'httpMethod' => 'GET',
418 418
               'parameters' => array(
@@ -432,7 +432,7 @@  discard block
 block discarded – undo
432 432
                   'required' => true,
433 433
                 ),
434 434
               ),
435
-            ),'list' => array(
435
+            ), 'list' => array(
436 436
               'path' => 'accounts/{accountId}/containers/{containerId}/tags',
437 437
               'httpMethod' => 'GET',
438 438
               'parameters' => array(
@@ -447,7 +447,7 @@  discard block
 block discarded – undo
447 447
                   'required' => true,
448 448
                 ),
449 449
               ),
450
-            ),'update' => array(
450
+            ), 'update' => array(
451 451
               'path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}',
452 452
               'httpMethod' => 'PUT',
453 453
               'parameters' => array(
@@ -496,7 +496,7 @@  discard block
 block discarded – undo
496 496
                   'required' => true,
497 497
                 ),
498 498
               ),
499
-            ),'delete' => array(
499
+            ), 'delete' => array(
500 500
               'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}',
501 501
               'httpMethod' => 'DELETE',
502 502
               'parameters' => array(
@@ -516,7 +516,7 @@  discard block
 block discarded – undo
516 516
                   'required' => true,
517 517
                 ),
518 518
               ),
519
-            ),'get' => array(
519
+            ), 'get' => array(
520 520
               'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}',
521 521
               'httpMethod' => 'GET',
522 522
               'parameters' => array(
@@ -536,7 +536,7 @@  discard block
 block discarded – undo
536 536
                   'required' => true,
537 537
                 ),
538 538
               ),
539
-            ),'list' => array(
539
+            ), 'list' => array(
540 540
               'path' => 'accounts/{accountId}/containers/{containerId}/triggers',
541 541
               'httpMethod' => 'GET',
542 542
               'parameters' => array(
@@ -551,7 +551,7 @@  discard block
 block discarded – undo
551 551
                   'required' => true,
552 552
                 ),
553 553
               ),
554
-            ),'update' => array(
554
+            ), 'update' => array(
555 555
               'path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}',
556 556
               'httpMethod' => 'PUT',
557 557
               'parameters' => array(
@@ -600,7 +600,7 @@  discard block
 block discarded – undo
600 600
                   'required' => true,
601 601
                 ),
602 602
               ),
603
-            ),'delete' => array(
603
+            ), 'delete' => array(
604 604
               'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}',
605 605
               'httpMethod' => 'DELETE',
606 606
               'parameters' => array(
@@ -620,7 +620,7 @@  discard block
 block discarded – undo
620 620
                   'required' => true,
621 621
                 ),
622 622
               ),
623
-            ),'get' => array(
623
+            ), 'get' => array(
624 624
               'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}',
625 625
               'httpMethod' => 'GET',
626 626
               'parameters' => array(
@@ -640,7 +640,7 @@  discard block
 block discarded – undo
640 640
                   'required' => true,
641 641
                 ),
642 642
               ),
643
-            ),'list' => array(
643
+            ), 'list' => array(
644 644
               'path' => 'accounts/{accountId}/containers/{containerId}/variables',
645 645
               'httpMethod' => 'GET',
646 646
               'parameters' => array(
@@ -655,7 +655,7 @@  discard block
 block discarded – undo
655 655
                   'required' => true,
656 656
                 ),
657 657
               ),
658
-            ),'update' => array(
658
+            ), 'update' => array(
659 659
               'path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}',
660 660
               'httpMethod' => 'PUT',
661 661
               'parameters' => array(
@@ -704,7 +704,7 @@  discard block
 block discarded – undo
704 704
                   'required' => true,
705 705
                 ),
706 706
               ),
707
-            ),'delete' => array(
707
+            ), 'delete' => array(
708 708
               'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}',
709 709
               'httpMethod' => 'DELETE',
710 710
               'parameters' => array(
@@ -724,7 +724,7 @@  discard block
 block discarded – undo
724 724
                   'required' => true,
725 725
                 ),
726 726
               ),
727
-            ),'get' => array(
727
+            ), 'get' => array(
728 728
               'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}',
729 729
               'httpMethod' => 'GET',
730 730
               'parameters' => array(
@@ -744,7 +744,7 @@  discard block
 block discarded – undo
744 744
                   'required' => true,
745 745
                 ),
746 746
               ),
747
-            ),'list' => array(
747
+            ), 'list' => array(
748 748
               'path' => 'accounts/{accountId}/containers/{containerId}/versions',
749 749
               'httpMethod' => 'GET',
750 750
               'parameters' => array(
@@ -767,7 +767,7 @@  discard block
 block discarded – undo
767 767
                   'type' => 'boolean',
768 768
                 ),
769 769
               ),
770
-            ),'publish' => array(
770
+            ), 'publish' => array(
771 771
               'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/publish',
772 772
               'httpMethod' => 'POST',
773 773
               'parameters' => array(
@@ -791,7 +791,7 @@  discard block
 block discarded – undo
791 791
                   'type' => 'string',
792 792
                 ),
793 793
               ),
794
-            ),'restore' => array(
794
+            ), 'restore' => array(
795 795
               'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore',
796 796
               'httpMethod' => 'POST',
797 797
               'parameters' => array(
@@ -811,7 +811,7 @@  discard block
 block discarded – undo
811 811
                   'required' => true,
812 812
                 ),
813 813
               ),
814
-            ),'undelete' => array(
814
+            ), 'undelete' => array(
815 815
               'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/undelete',
816 816
               'httpMethod' => 'POST',
817 817
               'parameters' => array(
@@ -831,7 +831,7 @@  discard block
 block discarded – undo
831 831
                   'required' => true,
832 832
                 ),
833 833
               ),
834
-            ),'update' => array(
834
+            ), 'update' => array(
835 835
               'path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}',
836 836
               'httpMethod' => 'PUT',
837 837
               'parameters' => array(
@@ -875,7 +875,7 @@  discard block
 block discarded – undo
875 875
                   'required' => true,
876 876
                 ),
877 877
               ),
878
-            ),'delete' => array(
878
+            ), 'delete' => array(
879 879
               'path' => 'accounts/{accountId}/permissions/{permissionId}',
880 880
               'httpMethod' => 'DELETE',
881 881
               'parameters' => array(
@@ -890,7 +890,7 @@  discard block
 block discarded – undo
890 890
                   'required' => true,
891 891
                 ),
892 892
               ),
893
-            ),'get' => array(
893
+            ), 'get' => array(
894 894
               'path' => 'accounts/{accountId}/permissions/{permissionId}',
895 895
               'httpMethod' => 'GET',
896 896
               'parameters' => array(
@@ -905,7 +905,7 @@  discard block
 block discarded – undo
905 905
                   'required' => true,
906 906
                 ),
907 907
               ),
908
-            ),'list' => array(
908
+            ), 'list' => array(
909 909
               'path' => 'accounts/{accountId}/permissions',
910 910
               'httpMethod' => 'GET',
911 911
               'parameters' => array(
@@ -915,7 +915,7 @@  discard block
 block discarded – undo
915 915
                   'required' => true,
916 916
                 ),
917 917
               ),
918
-            ),'update' => array(
918
+            ), 'update' => array(
919 919
               'path' => 'accounts/{accountId}/permissions/{permissionId}',
920 920
               'httpMethod' => 'PUT',
921 921
               'parameters' => array(
Please login to merge, or discard this patch.
assets/lib/google/src/Google/Service/Exception.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
  * limitations under the License.
16 16
  */
17 17
 
18
-if (!class_exists('MonsterInsights_GA_Lib_Client')) {
18
+if ( ! class_exists('MonsterInsights_GA_Lib_Client')) {
19 19
   require_once dirname(__FILE__) . '/../autoload.php';
20 20
 }
21 21
 
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 
96 96
     $errors = $this->getErrors();
97 97
 
98
-    if (!empty($errors) && isset($errors[0]['reason']) &&
98
+    if ( ! empty($errors) && isset($errors[0]['reason']) &&
99 99
         isset($this->retryMap[$errors[0]['reason']])) {
100 100
       return $this->retryMap[$errors[0]['reason']];
101 101
     }
Please login to merge, or discard this patch.
assets/lib/google/src/Google/Service/Resource.php 1 patch
Spacing   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
  * limitations under the License.
16 16
  */
17 17
 
18
-if (!class_exists('MonsterInsights_GA_Lib_Client')) {
18
+if ( ! class_exists('MonsterInsights_GA_Lib_Client')) {
19 19
   require_once dirname(__FILE__) . '/../autoload.php';
20 20
 }
21 21
 
@@ -67,8 +67,7 @@  discard block
 block discarded – undo
67 67
     $this->serviceName = $serviceName;
68 68
     $this->resourceName = $resourceName;
69 69
     $this->methods = is_array($resource) && isset($resource['methods']) ?
70
-        $resource['methods'] :
71
-        array($resourceName => $resource);
70
+        $resource['methods'] : array($resourceName => $resource);
72 71
   }
73 72
 
74 73
   /**
@@ -81,7 +80,7 @@  discard block
 block discarded – undo
81 80
    */
82 81
   public function call($name, $arguments, $expected_class = null)
83 82
   {
84
-    if (! isset($this->methods[$name])) {
83
+    if ( ! isset($this->methods[$name])) {
85 84
       $this->client->getLogger()->error(
86 85
           'Service method unknown',
87 86
           array(
@@ -129,7 +128,7 @@  discard block
 block discarded – undo
129 128
       $parameters = array_merge($parameters, $optParams);
130 129
     }
131 130
 
132
-    if (!isset($method['parameters'])) {
131
+    if ( ! isset($method['parameters'])) {
133 132
       $method['parameters'] = array();
134 133
     }
135 134
 
Please login to merge, or discard this patch.