Skip to content

Fix type errors in TextTools and URLtools - #5723

Merged
GlazerMann merged 1 commit into
ms609:masterfrom
redalert2fan:fix/texttools-urltools-types
Aug 8, 2026
Merged

Fix type errors in TextTools and URLtools#5723
GlazerMann merged 1 commit into
ms609:masterfrom
redalert2fan:fix/texttools-urltools-types

Conversation

@redalert2fan

Copy link
Copy Markdown
Contributor

TextTools: guard strtotime() false returns in the Google date-range branch before passing timestamps to date(). URLtools: handle preg_split() false in URL cleanup, and use null-coalescing for the alternation match groups in the PMC extraction. Resolves 7 PHPStan level 7 errors.

TextTools: guard strtotime() false returns in the Google date-range
branch before passing timestamps to date(). URLtools: handle preg_split()
false in URL cleanup, and use null-coalescing for the alternation match
groups in the PMC extraction. Resolves 7 PHPStan level 7 errors.
@github-actions github-actions Bot added the tools label Aug 8, 2026
@GlazerMann
GlazerMann merged commit e71095f into ms609:master Aug 8, 2026
21 checks passed
@redalert2fan
redalert2fan deleted the fix/texttools-urltools-types branch August 8, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants