[php-src] PR #15791: ext/date: reduce duplication in __wakeup() methods

From: Date: Sat, 07 Sep 2024 16:14:32 +0000
Subject: [php-src] PR #15791: ext/date: reduce duplication in __wakeup() methods
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-28472@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/15791 Author: DanielEScherzer The only difference between DateTime::__wakeup() and DateTimeImmutable::__wakeup() is which class name is included in the error message if the initialization from the data fails. Factor out a helper method that is given the class name, and use it for both methods.

« previous php.git-pulls (#28472) next »