From f7fbc6333ff9a91ffb2f636790657c927b4e3c55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Fri, 14 Aug 2020 17:36:20 +0200 Subject: Add more precise type info for stubs Closes GH-6005 --- ext/ctype/ctype.stub.php | 11 ----------- ext/ctype/ctype_arginfo.h | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) (limited to 'ext/ctype') diff --git a/ext/ctype/ctype.stub.php b/ext/ctype/ctype.stub.php index 5ae356cc4f..bcc722c12d 100644 --- a/ext/ctype/ctype.stub.php +++ b/ext/ctype/ctype.stub.php @@ -2,35 +2,24 @@ /** @generate-function-entries */ -/** @param string|int $text */ function ctype_alnum(mixed $text): bool {} -/** @param string|int $text */ function ctype_alpha(mixed $text): bool {} -/** @param string|int $text */ function ctype_cntrl(mixed $text): bool {} -/** @param string|int $text */ function ctype_digit(mixed $text): bool {} -/** @param string|int $text */ function ctype_lower(mixed $text): bool {} -/** @param string|int $text */ function ctype_graph(mixed $text): bool {} -/** @param string|int $text */ function ctype_print(mixed $text): bool {} -/** @param string|int $text */ function ctype_punct(mixed $text): bool {} -/** @param string|int $text */ function ctype_space(mixed $text): bool {} -/** @param string|int $text */ function ctype_upper(mixed $text): bool {} -/** @param string|int $text */ function ctype_xdigit(mixed $text): bool {} diff --git a/ext/ctype/ctype_arginfo.h b/ext/ctype/ctype_arginfo.h index 72e4d7b35c..10d8ae9bf1 100644 --- a/ext/ctype/ctype_arginfo.h +++ b/ext/ctype/ctype_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 5263184b90f82d53c6da4388c79b76a8c17977e9 */ + * Stub hash: aa287af25fe33a05d15d85b92b0edcfae00284a2 */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ctype_alnum, 0, 1, _IS_BOOL, 0) ZEND_ARG_TYPE_INFO(0, text, IS_MIXED, 0) -- cgit v1.2.1