Skip to content

Commit e897621

Browse files
committed
ext/sysvshm: shm_detach() always returns true
1 parent 3b4f2b0 commit e897621

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

ext/sysvshm/sysvshm.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ final class SysvSharedMemory
1212

1313
function shm_attach(int $key, ?int $size = null, int $permissions = 0666): SysvSharedMemory|false {}
1414

15-
function shm_detach(SysvSharedMemory $shm): bool {}
15+
function shm_detach(SysvSharedMemory $shm): true {}
1616

1717
function shm_has_var(SysvSharedMemory $shm, int $key): bool {}
1818

ext/sysvshm/sysvshm_arginfo.h

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)