Commit 874ef53
Scope DatePeriod constructor exception annotation to PHP 8.3+
DateMalformedPeriodStringException was introduced in PHP 8.3, but the
DatePeriod ISO string constructor stub declared it without version
constraints, causing IDEs to incorrectly flag it in earlier PHP versions.1 parent b3f1942 commit 874ef53
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1537 | 1537 | | |
1538 | 1538 | | |
1539 | 1539 | | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
1540 | 1550 | | |
1541 | 1551 | | |
1542 | 1552 | | |
1543 | 1553 | | |
1544 | 1554 | | |
1545 | 1555 | | |
1546 | 1556 | | |
| 1557 | + | |
1547 | 1558 | | |
1548 | 1559 | | |
1549 | 1560 | | |
| |||
0 commit comments