[RFC] Ensure correct magic methods' signatures when typed

From: Date: Sun, 29 Mar 2020 17:54:14 +0000
Subject: [RFC] Ensure correct magic methods' signatures when typed
Groups: php.internals 
Request: Send a blank email to internals+get-109416@lists.php.net to get a copy of this message
Hello internals. I'd like to discuss with you about https://github.com/php/php-src/pull/4177. I'll write a formal RFC for this during the week. Open question: ```php public function __constructor() {} ``` vs. ```php public function __constructor(): void {} ``` The same goes for __destruct, __clone and others that do not have return type nowadays.

« previous php.internals (#109416) next »