Passed
Push — master ( d2520f...3f8ec2 )
by Michael
02:50
created
class/ExtcalPersistableObjectHandler.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
     public function convertResultSet($result, $idAsKey = false, $asObject = true)
163 163
     {
164 164
         $ret = [];
165
-       while (false !== ($myrow = $this->db->fetchArray($result))) {
165
+        while (false !== ($myrow = $this->db->fetchArray($result))) {
166 166
             $obj = $this->create(false);
167 167
             $obj->assignVars($myrow);
168 168
             if (!$idAsKey) {
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
         }
234 234
 
235 235
         $myts = \MyTextSanitizer::getInstance();
236
-       while (false !== ($myrow = $this->db->fetchArray($result))) {
236
+        while (false !== ($myrow = $this->db->fetchArray($result))) {
237 237
             //identifiers should be textboxes, so sanitize them like that
238 238
             $ret[$myrow[$this->keyName]] = empty($this->identifierName) ? 1 : $myts->htmlSpecialChars($myrow[$this->identifierName]);
239 239
         }
Please login to merge, or discard this patch.