]> granicus.if.org Git - php/commitdiff
Style cleanup, as well as fixing bug with missing argument for WRONG_PARAM_COUNT_WITH...
authorAnthony Ferrara <ircmaxell@gmail.com>
Wed, 18 Mar 2015 19:45:16 +0000 (15:45 -0400)
committerAnthony Ferrara <ircmaxell@gmail.com>
Wed, 18 Mar 2015 19:45:16 +0000 (15:45 -0400)
Zend/zend_API.c
Zend/zend_API.h

index 0248f875ffd66731ed36da6ed46515c3c59092c8..da0eca8355b849664e568016b0f558369e925bc2 100644 (file)
@@ -157,6 +157,7 @@ ZEND_API void zend_wrong_param_count(void) /* {{{ */
                zend_wrong_param_count_ex(0);
        }
 }
+/* }}} */
 
 ZEND_API void zend_wrong_param_count_ex(zend_bool strict) /* {{{ */
 {
index 8a704279b7ef3ef0cca6f2ce48ca933deeddcc78..a1989d1927d8770dc513e182c11e69e3d11c3e9c 100644 (file)
@@ -356,10 +356,10 @@ ZEND_API char *zend_get_type_by_const(int type);
 #define ZEND_IS_METHOD_CALL()                          (EX(func)->common.scope != NULL)
 
 #define WRONG_PARAM_COUNT                                      ZEND_WRONG_PARAM_COUNT()
-#define WRONG_PARAM_COUNT_WITH_RETVAL(ret)     ZEND_WRONG_PARAM_COUNT_WITH_RETVAL()
+#define WRONG_PARAM_COUNT_WITH_RETVAL(ret)     ZEND_WRONG_PARAM_COUNT_WITH_RETVAL(ret)
 #define ARG_COUNT(dummy)                                       EX_NUM_ARGS()
 #define ZEND_NUM_ARGS()                                                EX_NUM_ARGS()
-#define ZEND_WRONG_PARAM_COUNT()                               { zend_wrong_param_count(); return; }
+#define ZEND_WRONG_PARAM_COUNT()                                       { zend_wrong_param_count(); return; }
 #define ZEND_WRONG_PARAM_COUNT_WITH_RETVAL(ret)                { zend_wrong_param_count(); return ret; }
 
 #ifndef ZEND_WIN32