Skip to content

Commit 512d2f1

Browse files
committed
Fixes return type
1 parent 1f9da1c commit 512d2f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ func PHPValue(value any) unsafe.Pointer {
411411
}
412412

413413
// EXPERIMENTAL: PHPReturnValue is equivalent to PHPValue, but will populate the provided *C.zval directly.
414-
func PHPReturnValue(zval unsafe.Pointer, value any) unsafe.Pointer {
414+
func PHPReturnValue(zval unsafe.Pointer, value any) {
415415
phpValue((*C.zval)(zval), value)
416416
}
417417

0 commit comments

Comments
 (0)