diff options
Diffstat (limited to 'ext/ffi/ffi.stub.php')
-rw-r--r-- | ext/ffi/ffi.stub.php | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/ext/ffi/ffi.stub.php b/ext/ffi/ffi.stub.php index 4b345b9147..dba2dcc308 100644 --- a/ext/ffi/ffi.stub.php +++ b/ext/ffi/ffi.stub.php @@ -33,17 +33,11 @@ final class FFI /** @prefer-ref $ptr */ public static function addr(FFI\CData $ptr): FFI\CData {} - /** - * @param FFI\CData|FFI\CType $ptr - * @prefer-ref $ptr - */ - public static function sizeof($ptr): int {} + /** @prefer-ref $ptr */ + public static function sizeof(FFI\CData|FFI\CType $ptr): int {} - /** - * @param FFI\CData|FFI\CType $ptr - * @prefer-ref $ptr - */ - public static function alignof($ptr): int {} + /** @prefer-ref $ptr */ + public static function alignof(FFI\CData|FFI\CType $ptr): int {} /** * @param FFI\CData|string $from |