summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_saproxy.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-04-15 14:34:32 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-04-15 14:34:32 +0200
commit60b724cbda5b5a3fa5ce27fd07f984d2b011ae65 (patch)
tree8b252f7a02dadcbc3db94a4a0e0300f51ec4e119 /ext/com_dotnet/com_saproxy.c
parentb8e5c071838e0e51add0d37269b1461a59138abf (diff)
parent0c8a2d8d2a44742ed8329ce90fdb91a6aa54c5bc (diff)
downloadphp-git-60b724cbda5b5a3fa5ce27fd07f984d2b011ae65.tar.gz
Merge branch 'PHP-7.4'
Diffstat (limited to 'ext/com_dotnet/com_saproxy.c')
-rw-r--r--ext/com_dotnet/com_saproxy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/com_dotnet/com_saproxy.c b/ext/com_dotnet/com_saproxy.c
index ebef6430a3..06aa1254c6 100644
--- a/ext/com_dotnet/com_saproxy.c
+++ b/ext/com_dotnet/com_saproxy.c
@@ -77,9 +77,10 @@ static zval *saproxy_property_read(zend_object *object, zend_string *member, int
return rv;
}
-static void saproxy_property_write(zend_object *object, zend_string *member, zval *value, void **cache_slot)
+static zval *saproxy_property_write(zend_object *object, zend_string *member, zval *value, void **cache_slot)
{
php_com_throw_exception(E_INVALIDARG, "safearray has no properties");
+ return value;
}
static zval *saproxy_read_dimension(zend_object *object, zval *offset, int type, zval *rv)