Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77417 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47024 invoked from network); 21 Sep 2014 21:05:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Sep 2014 21:05:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=thomas.gutbier@anthrotec.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=thomas.gutbier@anthrotec.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain anthrotec.de from 80.67.31.37 cause and error) X-PHP-List-Original-Sender: thomas.gutbier@anthrotec.de X-Host-Fingerprint: 80.67.31.37 smtprelay03.ispgateway.de Linux 2.6 Received: from [80.67.31.37] ([80.67.31.37:52466] helo=smtprelay03.ispgateway.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4A/82-16580-B7D3F145 for ; Sun, 21 Sep 2014 17:05:00 -0400 Received: from [92.198.40.181] (helo=[192.168.1.38]) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1XVoJT-00025s-No; Sun, 21 Sep 2014 23:04:55 +0200 Message-ID: <541F3D74.1050506@anthrotec.de> Date: Sun, 21 Sep 2014 23:04:52 +0200 Organization: anthrotec User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Levi Morrison , internals References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Df-Sender: dGhvbWFzLmd1dGJpZXJAYW50aHJvdGVjLmRl Subject: Re: [PHP-DEV] Re: Renaming type-hints to something else? From: thomas.gutbier@anthrotec.de (Thomas Gutbier) Am 17.09.2014 um 16:43 schrieb Levi Morrison: > class ReflectionType > Methods: > ReflectionFunction::hasReturnType > ReflectionFunction::getReturnType > ReflectionParameter::hasType > ReflectionParameter::getType This looks most straightforward to me while I dont see any benefit by adding some suffix like Hint, Decl or Declaration. Also I don't like the term "Type Hinting" already used in the documentation. Despite the change of a well known (but somwhat misleading) term i think it would be more descriptive to call this two concepts "Parameter Types" and "Return Types".