Re: [RFC][DISCUSSION] Object type hint, now with added variance

From: Date: Thu, 24 Nov 2016 08:12:40 +0000
Subject: Re: [RFC][DISCUSSION] Object type hint, now with added variance
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-97153@lists.php.net to get a copy of this message
On 23 November 2016 at 11:07, Marc Bennewitz <dev@mabe.berlin> wrote: > > If I declare a return type of "object" and extends that to return "static" > it doesn't compile because "static" is not a valid return type yet. > Hi Marc, That should be part of a separate RFC, that is focused on making static a valid return type. cheers Dan

« previous php.internals (#97153) next »