diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-15 14:33:47 +0200 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-15 14:33:47 +0200 |
| commit | 0c8a2d8d2a44742ed8329ce90fdb91a6aa54c5bc (patch) | |
| tree | 7fa62a66e75eb45c39869c32e1e2192b269b179b /ext | |
| parent | 5fc71c7dba0f1cfd0647d95a86e74d2361beeeeb (diff) | |
| download | php-git-0c8a2d8d2a44742ed8329ce90fdb91a6aa54c5bc.tar.gz | |
Fix saproxy_property_write signature
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/com_dotnet/com_saproxy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/com_dotnet/com_saproxy.c b/ext/com_dotnet/com_saproxy.c index 7eec446a3f..15f68367c4 100644 --- a/ext/com_dotnet/com_saproxy.c +++ b/ext/com_dotnet/com_saproxy.c @@ -78,9 +78,10 @@ static zval *saproxy_property_read(zval *object, zval *member, int type, void ** return rv; } -static void saproxy_property_write(zval *object, zval *member, zval *value, void **cache_slot) +static zval *saproxy_property_write(zval *object, zval *member, zval *value, void **cache_slot) { php_com_throw_exception(E_INVALIDARG, "safearray has no properties"); + return value; } static zval *saproxy_read_dimension(zval *object, zval *offset, int type, zval *rv) |
