summaryrefslogtreecommitdiff
path: root/ext/calendar
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2021-02-03 09:03:18 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2021-02-03 09:24:09 +0100
commit5f21062054b12a2e751886627ea81ecf733789a0 (patch)
tree4afc8f3dd2fb5081889ca9a40738cec224802c24 /ext/calendar
parentc5f4c3dddbacbd7209b8cab9935e502604215a9f (diff)
downloadphp-git-5f21062054b12a2e751886627ea81ecf733789a0.tar.gz
Generate class entries for a few extensions
Relates to GH-6644
Diffstat (limited to 'ext/calendar')
-rw-r--r--ext/calendar/calendar.stub.php5
-rw-r--r--ext/calendar/calendar_arginfo.h3
2 files changed, 6 insertions, 2 deletions
diff --git a/ext/calendar/calendar.stub.php b/ext/calendar/calendar.stub.php
index 575784df37..1f66909755 100644
--- a/ext/calendar/calendar.stub.php
+++ b/ext/calendar/calendar.stub.php
@@ -1,6 +1,9 @@
<?php
-/** @generate-function-entries */
+/**
+ * @generate-function-entries
+ * @generate-class-entries
+ */
function cal_days_in_month(int $calendar, int $month, int $year): int {}
diff --git a/ext/calendar/calendar_arginfo.h b/ext/calendar/calendar_arginfo.h
index b8d5bfc95f..080bd91a9b 100644
--- a/ext/calendar/calendar_arginfo.h
+++ b/ext/calendar/calendar_arginfo.h
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: ced2659f54bb25693831315625fe90b33e2f7cbe */
+ * Stub hash: 4953fb1f36502b399061f5e0ca2f700d09761be3 */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_cal_days_in_month, 0, 3, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, calendar, IS_LONG, 0)
@@ -116,3 +116,4 @@ static const zend_function_entry ext_functions[] = {
ZEND_FE(unixtojd, arginfo_unixtojd)
ZEND_FE_END
};
+