From: Adam Harvey Date: Thu, 23 Sep 2010 04:41:14 +0000 (+0000) Subject: Fix up the vim folds in phar_object.c and add a note that the two prototypes X-Git-Tag: php-5.4.0alpha1~191^2~895 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a89b97102e7c84987b26e0ba0c949d0f15ee130b;p=php Fix up the vim folds in phar_object.c and add a note that the two prototypes before Phar::__construct() are actually valid and not a mistake, per bug #52909. --- diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index 8d7223ff87..1c1ad0c580 100755 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -1251,8 +1251,12 @@ static spl_other_handler phar_spl_foreign_handler = { /* {{{ proto void Phar::__construct(string fname [, int flags [, string alias]]) * Construct a Phar archive object - * {{{ proto void PharData::__construct(string fname [[, int flags [, string alias]], int file format = Phar::TAR]) + * + * proto void PharData::__construct(string fname [[, int flags [, string alias]], int file format = Phar::TAR]) * Construct a PharData archive object + * + * This function is used as the constructor for both the Phar and PharData + * classes, hence the two prototypes above. */ PHP_METHOD(Phar, __construct) {