Passed
Branch master (f0dc77)
by Jacobo
06:21 queued 03:13
created
src/Session.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -245,8 +245,9 @@
 block discarded – undo
245 245
         }
246 246
 
247 247
         foreach ($array as $key => $value) {
248
-            if (is_null($value) || $value == '')
249
-                unset($array[$key]);
248
+            if (is_null($value) || $value == '') {
249
+                            unset($array[$key]);
250
+            }
250 251
         }
251 252
         return $array;
252 253
     }
Please login to merge, or discard this patch.
src/Publisher.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -216,8 +216,9 @@
 block discarded – undo
216 216
             'typeOfVideo' => $this->typeOfVideo,
217 217
             'videoDimensions' => $this->videoDimensions];
218 218
         foreach ($array as $key => $value) {
219
-            if (is_null($value) || $value == '')
220
-                unset($array[$key]);
219
+            if (is_null($value) || $value == '') {
220
+                            unset($array[$key]);
221
+            }
221 222
         }
222 223
         return $array;
223 224
     }
Please login to merge, or discard this patch.
src/SessionProperties.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -146,8 +146,9 @@
 block discarded – undo
146 146
             'defaultCustomLayout' => $this->defaultCustomLayout,
147 147
             'customSessionId' => $this->customSessionId];
148 148
         foreach ($array as $key => $value) {
149
-            if (is_null($value) || $value == '')
150
-                unset($array[$key]);
149
+            if (is_null($value) || $value == '') {
150
+                            unset($array[$key]);
151
+            }
151 152
         }
152 153
         return $array;
153 154
     }
Please login to merge, or discard this patch.
src/Recording.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -190,8 +190,9 @@
 block discarded – undo
190 190
     {
191 191
         $array = ['id' => $this->id, 'sessionId' => $this->sessionId, 'size' => $this->size, 'status' => $this->status, 'duration' => $this->duration, 'resolution' => $this->getResolution(), 'hasAudio' => $this->hasAudio(), 'hasVideo' => $this->hasVideo(), 'url' => $this->url, 'createdAt' => $this->createdAt];
192 192
         foreach ($array as $key => $value) {
193
-            if (is_null($value) || $value == '')
194
-                unset($array[$key]);
193
+            if (is_null($value) || $value == '') {
194
+                            unset($array[$key]);
195
+            }
195 196
         }
196 197
         return $array;
197 198
     }
Please login to merge, or discard this patch.
src/TokenOptions.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,8 +60,9 @@
 block discarded – undo
60 60
     {
61 61
         $array = ['role' => $this->role, 'data' => $this->data];
62 62
         foreach ($array as $key => $value) {
63
-            if (is_null($value) || $value == '')
64
-                unset($array[$key]);
63
+            if (is_null($value) || $value == '') {
64
+                            unset($array[$key]);
65
+            }
65 66
         }
66 67
         return $array;
67 68
     }
Please login to merge, or discard this patch.
src/Connection.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -228,8 +228,9 @@
 block discarded – undo
228 228
 
229 229
 
230 230
         foreach ($array as $key => $value) {
231
-            if (is_null($value) || $value == '')
232
-                unset($array[$key]);
231
+            if (is_null($value) || $value == '') {
232
+                            unset($array[$key]);
233
+            }
233 234
         }
234 235
         return $array;
235 236
     }
Please login to merge, or discard this patch.
src/RecordingProperties.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -198,8 +198,9 @@
 block discarded – undo
198 198
             'resolution' => $this->resolution,
199 199
             'customLayout' => $this->customLayout];
200 200
         foreach ($array as $key => $value) {
201
-            if (is_null($value) || $value == '')
202
-                unset($array[$key]);
201
+            if (is_null($value) || $value == '') {
202
+                            unset($array[$key]);
203
+            }
203 204
         }
204 205
         return $array;
205 206
     }
Please login to merge, or discard this patch.