Passed
Push — master ( d1f37b...4d7825 )
by Tomasz
06:32
created
core/EntityWithDBProperties.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
             case "core\User":
115 115
                 return $this->userName;
116 116
             default:
117
-                throw new Exception("Operating on a class where we don't know the relevant identifier in the DB - ".get_class($this)."!");
117
+                throw new Exception("Operating on a class where we don't know the relevant identifier in the DB - " . get_class($this) . "!");
118 118
         }
119 119
     }
120 120
     
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
         $handle = DBConnection::handle("INST");
246 246
         $blobQuery = $handle->exec("SELECT option_value from $table WHERE row = $row");
247 247
         // SELECT -> returns resource, not boolean
248
-        while ($returnedData =  /** @scrutinizer ignore-type */ mysqli_fetch_object($blobQuery)) {
248
+        while ($returnedData = /** @scrutinizer ignore-type */ mysqli_fetch_object($blobQuery)) {
249 249
             $blob = $returnedData->option_value;
250 250
         }
251 251
         if (!isset($blob)) {
Please login to merge, or discard this patch.