issues
search
j0k3r
/
graby
Graby helps you extract article content from web pages
MIT License
362
stars
73
forks
source link
ContentExtractor: clean up validateDate
#315
Closed
jtojnar
closed
1 year ago
jtojnar
commented
1 year ago
Drop incorrect and redundant phpdoc param hint.
Terminate early on null so that we can drop later casts and null checks.
Add a comment about suspicious cast introduced in
https://github.com/j0k3r/graby/commit/6480564f8ff01122f288af6dc90523297a4b5f50
Catch a possible Exception caused by DateTime constructor.
jtojnar
commented
1 year ago
Closing in favour of #317