@@ -166,7 +166,7 @@ |
||
166 | 166 | protected function resetConstraintsOnMemoryExhaustionError() |
167 | 167 | { |
168 | 168 | $reservedMemory = new \SplFixedArray(187500); // 3M |
169 | - register_shutdown_function(function () use (&$reservedMemory): void { |
|
169 | + register_shutdown_function(function() use (&$reservedMemory): void { |
|
170 | 170 | $reservedMemory = null; // free the reserved memory |
171 | 171 | $error = error_get_last(); |
172 | 172 | if (strpos($error['message'] ?? '', 'Allowed memory size of') !== false) { |
@@ -261,7 +261,7 @@ |
||
261 | 261 | $editableComments[$const]['subcat_name'] = $catSplit[1]; |
262 | 262 | $orderIdentifier = isset($catSplit[2]) ? trim($catSplit[2]) : $counter; |
263 | 263 | $editableComments[$const]['subcat'] = ($this->subCategories[$catSplit[1]][1] ?? '') |
264 | - . '/' . $catSplit[1] . '/' . $orderIdentifier . 'z'; |
|
264 | + . '/' . $catSplit[1] . '/' . $orderIdentifier . 'z'; |
|
265 | 265 | } elseif (isset($catSplit[2])) { |
266 | 266 | $editableComments[$const]['subcat'] = 'x/' . trim($catSplit[2]) . 'z'; |
267 | 267 | } else { |