From 83b437a9236307c4df69097f40d9ae7bbb5873d4 Mon Sep 17 00:00:00 2001 From: sji Date: Wed, 29 Apr 2020 07:32:28 +0900 Subject: [PATCH] fix wrong @return at \FFI::cdef() --- FFI/FFI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FFI/FFI.php b/FFI/FFI.php index 9e14a6be..df28870f 100644 --- a/FFI/FFI.php +++ b/FFI/FFI.php @@ -30,7 +30,7 @@ namespace { * * @param string $code The collection of C declarations. * @param string|null $library DSO library. - * @return CData|FFI|mixed + * @return FFI * @throws ParserException */ public static function cdef(string $code, string $library = null): FFI {}