Remove last traces of date functions in favor of DateTimeImmutable

This commit is contained in:
Alex Cabal 2024-06-13 13:11:42 -05:00
parent c6d2d77537
commit 97821d0dc3
4 changed files with 7 additions and 13 deletions

View file

@ -188,7 +188,7 @@ class HttpInput{
try{
return intval($var);
}
catch(Exception){
catch(\Exception){
return null;
}
}
@ -205,7 +205,7 @@ class HttpInput{
try{
return floatval($var);
}
catch(Exception){
catch(\Exception){
return null;
}
}
@ -215,8 +215,7 @@ class HttpInput{
try{
return new DateTimeImmutable($var);
}
catch(Exception){
vdd('q');
catch(\Exception){
return null;
}
}