diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-01-02 10:35:31 +0100 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-01-02 10:56:18 +0100 |
commit | 01a50778d1f67d038b3f23911c0b84bfe055d64f (patch) | |
tree | 3920485afb84a44a538d2f9cd01e0c1d8b6ba579 /ext/pgsql | |
parent | a6486088f8c98210b5676cd6fe337e205f6504b9 (diff) | |
download | php-git-01a50778d1f67d038b3f23911c0b84bfe055d64f.tar.gz |
Use RETURN_THROWS() after zend_throw_exception() in most of the extensions
Diffstat (limited to 'ext/pgsql')
-rw-r--r-- | ext/pgsql/pgsql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index c95f47770c..3445860f77 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -2840,7 +2840,7 @@ static void php_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, zend_long result_ * argument passed by reference. */ zend_throw_exception(zend_ce_exception, "Parameter ctor_params must be an array", 0); - return; + RETURN_THROWS(); } } |