Closes GH-6708

Signed-off-by: George Peter Banyard <girgias@php.net>
This commit is contained in:
Anton Vasiliev 2021-02-17 22:50:00 +00:00 committed by George Peter Banyard
parent a843c8a4b6
commit be9200998f

View file

@ -100,7 +100,7 @@ void zend_exception_set_previous(zend_object *exception, zend_object *add_previo
}
ZEND_ASSERT(instanceof_function(add_previous->ce, zend_ce_throwable)
&& "Previous execption must implement Throwable");
&& "Previous exception must implement Throwable");
ZVAL_OBJ(&pv, add_previous);
ZVAL_OBJ(&zv, exception);