@@ -114,7 +114,7 @@ discard block |
||
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 |
||
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)) { |