Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108031 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 24552 invoked from network); 8 Jan 2020 13:58:40 -0000 Received: from unknown (HELO localhost.localdomain) (76.75.200.58) by pb1.pair.com with SMTP; 8 Jan 2020 13:58:40 -0000 To: internals@lists.php.net References: Date: Wed, 8 Jan 2020 12:04:03 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Posted-By: 78.105.135.63 Subject: Re: [RFC] Static return type From: marandall@php.net (Mark Randall) Message-ID: On 08/01/2020 11:42, Nikita Popov wrote: > Hi internals, > > I would like to propose the following RFC, which allows using "static" as a > return type: > > https://wiki.php.net/rfc/static_return_type So many "@return $this" docblocks are going to be deleted as a result of this when PHP8 lands. +1 from me. -- Mark Randall marandall@php.net