@@ -267,17 +267,15 @@ static zend_object *zend_error_exception_new(zend_class_entry *class_type) /* {{
267267}
268268/* }}} */
269269
270- /* {{{ proto Exception|Error Exception|Error::__clone()
271- Clone the exception object */
270+ /* {{{ Clone the exception object */
272271ZEND_COLD ZEND_METHOD (Exception , __clone )
273272{
274273 /* Should never be executable */
275274 zend_throw_exception (NULL , "Cannot clone object using __clone()" , 0 );
276275}
277276/* }}} */
278277
279- /* {{{ proto Exception|Error::__construct(string message, int code [, Throwable previous])
280- Exception constructor */
278+ /* {{{ Exception constructor */
281279ZEND_METHOD (Exception , __construct )
282280{
283281 zend_string * message = NULL ;
@@ -308,8 +306,7 @@ ZEND_METHOD(Exception, __construct)
308306}
309307/* }}} */
310308
311- /* {{{ proto Exception::__wakeup()
312- Exception unserialize checks */
309+ /* {{{ Exception unserialize checks */
313310#define CHECK_EXC_TYPE (id , type ) \
314311 pvalue = zend_read_property_ex(i_get_exception_base(object), (object), ZSTR_KNOWN(id), 1, &value); \
315312 if (Z_TYPE_P(pvalue) != IS_NULL && Z_TYPE_P(pvalue) != type) { \
@@ -329,8 +326,7 @@ ZEND_METHOD(Exception, __wakeup)
329326}
330327/* }}} */
331328
332- /* {{{ proto ErrorException::__construct(string message, int code, int severity [, string filename [, int lineno [, Throwable previous]]])
333- ErrorException constructor */
329+ /* {{{ ErrorException constructor */
334330ZEND_METHOD (ErrorException , __construct )
335331{
336332 zend_string * message = NULL , * filename = NULL ;
@@ -380,8 +376,7 @@ ZEND_METHOD(ErrorException, __construct)
380376#define GET_PROPERTY_SILENT (object , id ) \
381377 zend_read_property_ex(i_get_exception_base(object), (object), ZSTR_KNOWN(id), 1, &rv)
382378
383- /* {{{ proto string Exception|Error::getFile()
384- Get the file in which the exception occurred */
379+ /* {{{ Get the file in which the exception occurred */
385380ZEND_METHOD (Exception , getFile )
386381{
387382 zval * prop , rv ;
@@ -393,8 +388,7 @@ ZEND_METHOD(Exception, getFile)
393388}
394389/* }}} */
395390
396- /* {{{ proto int Exception|Error::getLine()
397- Get the line in which the exception occurred */
391+ /* {{{ Get the line in which the exception occurred */
398392ZEND_METHOD (Exception , getLine )
399393{
400394 zval * prop , rv ;
@@ -406,8 +400,7 @@ ZEND_METHOD(Exception, getLine)
406400}
407401/* }}} */
408402
409- /* {{{ proto string Exception|Error::getMessage()
410- Get the exception message */
403+ /* {{{ Get the exception message */
411404ZEND_METHOD (Exception , getMessage )
412405{
413406 zval * prop , rv ;
@@ -419,8 +412,7 @@ ZEND_METHOD(Exception, getMessage)
419412}
420413/* }}} */
421414
422- /* {{{ proto int Exception|Error::getCode()
423- Get the exception code */
415+ /* {{{ Get the exception code */
424416ZEND_METHOD (Exception , getCode )
425417{
426418 zval * prop , rv ;
@@ -433,8 +425,7 @@ ZEND_METHOD(Exception, getCode)
433425}
434426/* }}} */
435427
436- /* {{{ proto array Exception|Error::getTrace()
437- Get the stack trace for the location in which the exception occurred */
428+ /* {{{ Get the stack trace for the location in which the exception occurred */
438429ZEND_METHOD (Exception , getTrace )
439430{
440431 zval * prop , rv ;
@@ -447,8 +438,7 @@ ZEND_METHOD(Exception, getTrace)
447438}
448439/* }}} */
449440
450- /* {{{ proto int ErrorException::getSeverity()
451- Get the exception severity */
441+ /* {{{ Get the exception severity */
452442ZEND_METHOD (ErrorException , getSeverity )
453443{
454444 zval * prop , rv ;
@@ -590,8 +580,7 @@ static void _build_trace_string(smart_str *str, HashTable *ht, uint32_t num) /*
590580}
591581/* }}} */
592582
593- /* {{{ proto string Exception|Error::getTraceAsString()
594- Obtain the backtrace for the exception as a string (instead of an array) */
583+ /* {{{ Obtain the backtrace for the exception as a string (instead of an array) */
595584ZEND_METHOD (Exception , getTraceAsString )
596585{
597586 zval * trace , * frame , rv ;
@@ -631,8 +620,7 @@ ZEND_METHOD(Exception, getTraceAsString)
631620}
632621/* }}} */
633622
634- /* {{{ proto Throwable Exception|Error::getPrevious()
635- Return previous Throwable or NULL. */
623+ /* {{{ Return previous Throwable or NULL. */
636624ZEND_METHOD (Exception , getPrevious )
637625{
638626 zval rv ;
@@ -642,8 +630,7 @@ ZEND_METHOD(Exception, getPrevious)
642630 ZVAL_COPY (return_value , GET_PROPERTY_SILENT (ZEND_THIS , ZEND_STR_PREVIOUS ));
643631} /* }}} */
644632
645- /* {{{ proto string Exception|Error::__toString()
646- Obtain the string representation of the Exception object */
633+ /* {{{ Obtain the string representation of the Exception object */
647634ZEND_METHOD (Exception , __toString )
648635{
649636 zval trace , * exception ;
0 commit comments