com php-src: Remove generic type annotations: ext/calendar/calendar.stub.php ext/curl/curl.stub.php
| From: | Christoph Michael Becker | Date: | Sat, 26 Oct 2019 14:24:53 +0000 |
| Subject: | com php-src: Remove generic type annotations: ext/calendar/calendar.stub.php ext/curl/curl.stub.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-109071@lists.php.net to get a copy of this message | ||
Commit: 913a449b273f2725a96bbb5663d8af2011100f5c
Author: Christoph M. Becker <cmbecker69@gmx.de> Sat, 26 Oct 2019 16:24:02 +0200
Parents: b823864926a2726c16d51345b7b32203c25eaf09
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=913a449b273f2725a96bbb5663d8af2011100f5c
Log:
Remove generic type annotations
Cf. <https://github.com/php/php-src/commit/de69a9d3ebad41da9bc7c59f836bb141f0af70f8#r35675846>.
Changed paths:
M ext/calendar/calendar..stub.php
M ext/curl/curl.stub.php
Diff:
diff --git a/ext/calendar/calendar.stub.php b/ext/calendar/calendar.stub.php
index da08cd70371..6731cd5c0ba 100644
--- a/ext/calendar/calendar.stub.php
+++ b/ext/calendar/calendar.stub.php
@@ -3,7 +3,7 @@
/** @return int|false */
function cal_days_in_month(int $calendar, int $month, int $year) {}
-/** @return array<string, array<int, string>&int&string>|false */
+/** @return array|false */
function cal_from_jd(int $jd, int $calendar) {}
/** @return array|false */
diff --git a/ext/curl/curl.stub.php b/ext/curl/curl.stub.php
index f5bd6daacf5..022438d0b20 100644
--- a/ext/curl/curl.stub.php
+++ b/ext/curl/curl.stub.php
@@ -109,7 +109,7 @@ function curl_reset($handle): void {}
/**
* @param resource $handle
- * @param array<int, mixed> $options
+ * @param array $options
*/
function curl_setopt_array($handle, array $options): bool {}