| @@ -63,9 +63,17 @@ | ||
| 63 | 63 | @unlink($this->tempFileName); |
| 64 | 64 | } |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | - /** @param mixed[] $data */ | |
| 67 | + /** | |
| 68 | + * Unserialization is not allowed. This needs to be enforced | |
| 69 | + * in the class before Php8.6, but, with that release, | |
| 70 | + * this method is no longer needed and will not be executed. | |
| 71 | + * | |
| 72 | + * @see https://github.com/php/php-src/pull/21694 | |
| 73 | + * | |
| 74 | + * @param mixed[] $data | |
| 75 | + */ | |
| 68 | 76 | public function __unserialize(array $data): void |
| 69 | 77 | { |
| 70 | 78 | $this->tempFileName = ''; |
| 71 | 79 | |