summaryrefslogtreecommitdiff
path: root/ext/intl/dateformat/dateformat_create.cpp
diff options
context:
space:
mode:
authorDanack <Danack@basereality.com>2015-03-16 23:14:56 +0000
committerDanack <Danack@basereality.com>2015-03-16 23:14:56 +0000
commit910a3243063f0490a60e5c3c0e1467a6171f4e39 (patch)
tree8d2bd9fab15076218bce73f74dd203788bc29642 /ext/intl/dateformat/dateformat_create.cpp
parent6b232643e5c3b8f20a968e040b7c75695608a15b (diff)
downloadphp-git-910a3243063f0490a60e5c3c0e1467a6171f4e39.tar.gz
Fixed indentation. Fixed comment style. Fixed commented out code.
Diffstat (limited to 'ext/intl/dateformat/dateformat_create.cpp')
-rw-r--r--ext/intl/dateformat/dateformat_create.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/dateformat/dateformat_create.cpp b/ext/intl/dateformat/dateformat_create.cpp
index 9d6d5f4e97..31fcaeb7fc 100644
--- a/ext/intl/dateformat/dateformat_create.cpp
+++ b/ext/intl/dateformat/dateformat_create.cpp
@@ -79,8 +79,8 @@ static void datefmt_ctor(INTERNAL_FUNCTION_PARAMETERS, zend_bool is_constructor)
DATE_FORMAT_METHOD_FETCH_OBJECT_NO_CHECK;
if (DATE_FORMAT_OBJECT(dfo) != NULL) {
- // This is __construct being called on an instance - it is not
- // a constructor.
+ /* This is __construct being called on an instance - it is not
+ a constructor. */
intl_errors_set(INTL_DATA_ERROR_P(dfo), U_ILLEGAL_ARGUMENT_ERROR,
"datefmt_create: cannot call constructor twice", 0);
return;