@@ -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) { |