Use new helper function for "cannot be empty" ValueErrors

This commit is contained in:
Gina Peter Bnayard 2024-08-18 20:09:08 +02:00 committed by Gina Peter Banyard
parent 96d572a18e
commit e7c4d54d65
40 changed files with 96 additions and 96 deletions

View file

@ -82,7 +82,7 @@ PHP_METHOD(Pdo_Sqlite, loadExtension)
}
if (extension_len == 0) {
zend_argument_value_error(1, "cannot be empty");
zend_argument_cannot_be_empty_error(1);
RETURN_THROWS();
}