]> granicus.if.org Git - php/commitdiff
Remove generic type annotations
authorChristoph M. Becker <cmbecker69@gmx.de>
Sat, 26 Oct 2019 14:24:02 +0000 (16:24 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sat, 26 Oct 2019 14:24:53 +0000 (16:24 +0200)
Cf. <https://github.com/php/php-src/commit/de69a9d3ebad41da9bc7c59f836bb141f0af70f8#r35675846>.

ext/calendar/calendar.stub.php
ext/curl/curl.stub.php

index da08cd70371933a2a0a73212025e0e3f5f5b2fe1..6731cd5c0ba3e4633e7aec9d09f839ca992b4077 100644 (file)
@@ -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 */
index f5bd6daacf5cbae5f0cb3dea46e71deb34442f69..022438d0b2000cc3564fc23be182144cbed9f7bc 100644 (file)
@@ -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 {}