Skip to content

Commit

Permalink
Temp fix for #9995
Browse files Browse the repository at this point in the history
  • Loading branch information
kkmuffme committed Jul 5, 2023
1 parent 8fe1f15 commit dd847bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dictionaries/ManualPropertyMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
//
'dateinterval' => [
// documented as 'mixed' in doc-en/reference/datetime/dateinterval.xml:90.
'days' => 'false|int',
// technically false|int but the false has ignore falsable true in Reflection.php, but for that to work it must not be set here
'days' => 'int',
],
'domnode' => [
// documented as 'DomNodeList' in doc-en/reference/dom/domnode.xml:57.
Expand Down
2 changes: 1 addition & 1 deletion dictionaries/PropertyMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
'dateinterval' => [
'd' => 'int',
'date_string' => 'string',
'days' => 'false|int',
'days' => 'int',
'f' => 'float',
'from_string' => 'bool',
'h' => 'int',
Expand Down

0 comments on commit dd847bf

Please sign in to comment.