Skip to content

Commit 1894630

Browse files
docs: remove superfluous arg in an example (#1972)
1 parent f729855 commit 1894630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func process_data_unordered_map(arr *C.zval) unsafe.Pointer {
180180
// export_php:function process_data_packed(array $input): array
181181
func process_data_packed(arr *C.zval) unsafe.Pointer {
182182
// Convert PHP packed array to Go
183-
goSlice, err := frankenphp.GoPackedArray(unsafe.Pointer(arr), false)
183+
goSlice, err := frankenphp.GoPackedArray(unsafe.Pointer(arr))
184184
if err != nil {
185185
// handle error
186186
}

0 commit comments

Comments
 (0)