diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-10-01 10:09:27 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-10-01 23:09:56 +0200 |
commit | 4a30c7684587fcb34c50f796b23518705e5e5874 (patch) | |
tree | b0bc547a416cc7e94174e92fefcc1b4c085f1368 /ext/sysvshm/sysvshm.stub.php | |
parent | 85949d749bcbe63b2ef2e905e67735e84f235fa4 (diff) | |
download | php-git-4a30c7684587fcb34c50f796b23518705e5e5874.tar.gz |
Review parameter names in ext/sysvshm
Closes GH-6249
Diffstat (limited to 'ext/sysvshm/sysvshm.stub.php')
-rw-r--r-- | ext/sysvshm/sysvshm.stub.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/sysvshm/sysvshm.stub.php b/ext/sysvshm/sysvshm.stub.php index f775032f46..4f2799a349 100644 --- a/ext/sysvshm/sysvshm.stub.php +++ b/ext/sysvshm/sysvshm.stub.php @@ -6,16 +6,16 @@ final class SysvSharedMemory { } -function shm_attach(int $key, ?int $memsize = null, int $perm = 0666): SysvSharedMemory|false {} +function shm_attach(int $key, ?int $size = null, int $permissions = 0666): SysvSharedMemory|false {} function shm_detach(SysvSharedMemory $shm): bool {} -function shm_has_var(SysvSharedMemory $shm, int $variable_key): bool {} +function shm_has_var(SysvSharedMemory $shm, int $key): bool {} function shm_remove(SysvSharedMemory $shm): bool {} -function shm_put_var(SysvSharedMemory $shm, int $variable_key, mixed $variable): bool {} +function shm_put_var(SysvSharedMemory $shm, int $key, mixed $value): bool {} -function shm_get_var(SysvSharedMemory $shm, int $variable_key): mixed {} +function shm_get_var(SysvSharedMemory $shm, int $key): mixed {} -function shm_remove_var(SysvSharedMemory $shm, int $variable_key): bool {} +function shm_remove_var(SysvSharedMemory $shm, int $key): bool {} |