Completed
Push — master ( 09e053...ddf9dd )
by Filippo
01:43
created
src/EoC/Doc/AbstractDoc.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -149,8 +149,9 @@  discard block
 block discarded – undo
149 149
 
150 150
 
151 151
   public function unsetId() {
152
-    if ($this->isMetadataPresent('_id'))
153
-      unset($this->meta['_id']);
152
+    if ($this->isMetadataPresent('_id')) {
153
+          unset($this->meta['_id']);
154
+    }
154 155
   }
155 156
 
156 157
 
@@ -170,8 +171,9 @@  discard block
 block discarded – undo
170 171
 
171 172
 
172 173
   public function unsetRev() {
173
-    if ($this->isMetadataPresent('_rev'))
174
-      unset($this->meta['_rev']);
174
+    if ($this->isMetadataPresent('_rev')) {
175
+          unset($this->meta['_rev']);
176
+    }
175 177
   }
176 178
 
177 179
   //! @endcond
Please login to merge, or discard this patch.